μλ νμΈμ,
λ‘κ·ΈμΈ ν ν νμ΄μ§μ μ‘μΈμ€νλ €κ³ νλ©΄ 루νλ°± μ€λ₯κ° λ°μν©λλ€. μ΄κ²μ λ΄ λ‘컬 νκ²½μ VMμμ λ°μν©λλ€. μ΄μν λΆλΆμ λ΄κ° μ¬μ΄νΈλ₯Ό λ‘컬μμ μ¬μ©νμ¬ νλ£»λ°€ λμ λ¬Έμ μμ΄ λ²κ·Έλ₯Ό μμ ν μ μμκ³ λ€μλ μμΉ¨μ λ€λ₯Έ λ¬Έμ λ₯Ό ν΄κ²°νκΈ° μν΄ λμ μμ λ μ΄κ²μ보기 μμνμ΅λλ€.
λ€λ₯Έ μ¬λμ΄ μ΄κ²μ κ²½ν ν μ μ΄ μμ΅λκΉ? κ·Έλ λ€λ©΄ ν΄κ²°μ± μ 무μμ λκΉ?
κ²μμνκ³ λ² νμμμ΄ μ€λλ λ¬Έμ λ₯Ό λ°κ²¬νμ΅λλ€.
https://github.com/FreeCodeCamp/FreeCodeCamp/issues/971
κ·Έλ¬λ μκ° μ΄κ³Όλ₯Ό λ리면 μλ¬΄λ° ν¨κ³Όκ° μμμ΅λλ€.
μ΄κ²μ μΌλ°μ μΌλ‘ μλ²κ° λ°μ΄ν°λ² μ΄μ€μ μ°κ²°ν μ μμ λ λ°μν©λλ€. mongoκ° μ€ν μ€μ΄κ³ μ μ°κ²°μ΄λ³΄κ³ λλμ§ νμΈν μ μμ΅λκΉ?
μ΄κ²μ΄ λ΄κ° κ°μ₯ λ¨Όμ νμΈν κ²μ
λλ€.
32 λΉνΈ VMμ΄λΌλ μ¬μ€κ³Ό κ΄λ ¨μ΄μμ μ μμ΅λκΉ?
λ§μ§λ§ μ€μ μ°κ²°μ κΈ°λ€λ¦¬κ³ μμμ λνλ
λλ€. κ·Έλ¬λ μλ²κ° μ°κ²°λμλ€λ νμλ μμ΅λλ€. λ€μκ³Ό κ°μ λ΄μ©μ΄ νμλ©λλ€.
mongodb uriκ° νκ²½ λ³μμ μ¬λ°λ₯΄κ² μ€μ λμ΄ μλμ§ λ€μ νμΈνκ³ μΆμ μ μμ΅λλ€.
μ°Έμ‘° : https://github.com/FreeCodeCamp/FreeCodeCamp/blob/staging/sample.env
κ°μ¬ν©λλ€ @BerkeleyTrue
μ, .env νμΌμ μ¬λ°λ₯΄κ² μ€μ λμ΄ μμ΅λλ€. λ΄ λͺ½κ³ λ‘κ·Έλ₯Ό κ²μνκ² μ΅λλ€.
λͺ½κ³ μ°λ¦¬μ λν΄ μ νν 무μμ μ¬κΈ°μ κ²μ ν μ μμ΅λκΉ?
MONGOHQ_URL = ' mongodb : // localhost : 27017 / freecodecamp'
mongoκ° μλ²μ λμΌν VM λ΄μμ μ€νλκ³ μμ΅λκΉ?
μ΄λ λ μ λ μ μ μ€νλμμΌλ―λ‘ μ΄κΈ° μ°κ²° λ° μλμ μν΄μλ μ λ³΄κ° μ νν΄μΌν©λλ€. μ΄μ μΈμ μμ mongoμ μ κΈμ΄ μλ€κ³ μκ°ν©λλ€.
μ, λμΌν VMμμ μ€ν μ€μ λλ€.
κΏκΊ½ κΏκΊ½ ν κ²°κ³Ό :
vagrant @ precise32 : / gulp
[17:56:13] gulpfile /vagrant/gulpfile.js μ¬μ©
[17:56:13] 'less'μμ ...
[17:56:13] 'js'μμ μ€ ...
[17:56:13] 'ν© μμΉ'μμ μ€ ...
[17:56:14] 'build-manifest-watch'μμ μ€ ...
[17:56:20] 6.4 μ΄ ν 'build-manifest-watch'μλ£
[17:56:24] 11 μ΄ ν 'λ'μλ£
[17:56:34] 21 μ΄ ν 'js'μλ£
[17:56:34] 'λΆμ κ°μ‘±'μμ ...
[17:57:15] λ²μ : webpack 1.13.0
μμ° ν¬κΈ° μ²ν¬ μ²ν¬ μ΄λ¦
bundle.js 8.75MB 0 [λ°©μΆ λ¨] κΈ°λ³Έ
fcc : gulp μΉν© μ΄κΈ°ν μλ£ + 0ms
[17:57:15] 1.03 λΆ ν 'ν© μμΉ'μλ£
[17:57:15] 'pack-watch-manifest'μμ μ€ ...
[17:57:15] μΉν©μ΄ λ³κ²½ μ¬νμ κ°μνκ³ μμ΅λλ€.
[17:57:20] 46 μ΄ ν 'λΆμ κ°μ‘±'μλ£
[17:57:20] 4.88 μ΄ ν 'pack-watch-manifest'μλ£
[17:57:20] 'λΉλ 맀λνμ€νΈ'μμ μ€ ...
[17:57:20] 53ms ν 'λΉλ 맀λνμ€νΈ'μλ£
[17:57:20] 'serve'μμ μ€ ...
[17:57:20] [λ
Έλ λͺ¬] 1.9.1
[17:57:20] [nodemon] μΈμ λ μ§ λ€μ μμνλ €λ©΄ rs
[17:57:20] [nodemon] μμ² μ€ : _._
[17:57:20] [nodemon] /vagrant/node_modules/.bin/babel-node ./server/server.js
[17:57:21] 1.26 μ΄ ν 'μ 곡'μλ£
[17:57:21] 'λκΈ°ν'μμ μ€ ...
[17:57:22] 1.18 μ΄ ν 'λκΈ°ν'μλ£
[17:57:22] 'μκ³'μμ μ€ ...
[17:57:25] 2.8 μ΄ ν 'μκ³'μλ£
[17:57:25] 'κΈ°λ³Έ'μμ μ€ ...
[17:57:25] 7.35ΞΌs ν 'κΈ°λ³Έ'μλ£
[BS] νλ‘ μ± : http : // localhost : 3000
[BS] μ‘μΈμ€ URL :
Local: http://localhost:3001
External: http://10.0.2.15:3001
UI: http://localhost:3002
UI μΈλΆ : http://10.0.2.15 : 3002
[BS] νμΌλ³΄κΈ° ...
λν ν μλ ν¨μ μ²΄μΈ μμ
fcc : user : μ격 μ€μ μ¬μ©μ νν¬ + 0ms
λ°μ΄ν° μμ€ μ€λΉ ..
http://127.0.0.1 : 3000 / explorerμμ REST APIλ₯Ό μ°Ύμ보μμμ€.
κ°λ°μ€μΈ ν¬νΈ 3000μμ μμ λκΈ°μ€μΈ FreeCodeCamp μλ²
ν¬νΈ 1337μμ μμ νλ https 리λλ μ
MongoError : localhost : 27017μ λν μ°κ²° 0μ΄ μκ° μ΄κ³Όλμμ΅λλ€.
Function.MongoError.create (/home/vagrant/vagrant_node_modules/node_modules/mongodb-core/lib/error.js:29:11)
μμΌμμ.
Socket.g (events.js : 273 : 16)
emitNone (events.js : 80 : 13)
Socket.emit (events.js : 179 : 7)
Socket._onTimeout (net.js : 332 : 8)
tryOnTimeoutμμ (timers.js : 224 : 11)
Timer.listOnTimeout (timers.js : 198 : 5)
"λ°μ΄ν° μμ€ μ€λΉ"μ€μ λ΄κ° μΆκ° ν λλ²κ·Έ μ½λμ λλ€.
κ·Έλ¦¬κ³ mongoμ μΆλ ₯ :
vagrant @ precise32 : ~ $
mongod-λμλ§ λ° μμ μ΅μ
μ λν λμλ§
2016-04-28T17 : 52 : 35.870 + 0000
2016-04-28T17 : 52 : 35.875 + 0000 κ²½κ³ : 32 λΉνΈ μλ²μλ κΈ°λ³Έμ μΌλ‘ μ λλ§μ΄ νμ±νλμ΄ μμ§ μμ΅λλ€. λ΄κ΅¬μ±μ μνλ€λ©΄ --journalμ μ¬μ©νμμμ€.
2016-04-28T17 : 52 : 35.876 + 0000
2016-04-28T17 : 52 : 35.938 + 0000 [initandlisten] MongoDB μμ : pid = 1847 port = 27017 dbpath = / data / db 32 λΉνΈ host = precise32
2016-04-28T17 : 52 : 35.938 + 0000 [initandlisten]
2016-04-28T17 : 52 : 35.938 + 0000 [initandlisten] ** μ°Έκ³ : 32 λΉνΈ MongoDB λ°μ΄λ리μ
λλ€.
2016-04-28T17 : 52 : 35.938 + 0000 [initandlisten] ** 32 λΉνΈ λΉλλ 2GB λ―Έλ§μ λ°μ΄ν° (λλ --journal μ¬μ©μ κ·Έ λ―Έλ§)λ‘ μ νλ©λλ€.
2016-04-28T17 : 52 : 35.938 + 0000 [initandlisten] ** μ λλ§μ 32 λΉνΈμ λν΄ κΈ°λ³Έμ μΌλ‘ κΊΌμ Έ μμΌλ©° νμ¬ κΊΌμ Έ μμ΅λλ€.
2016-04-28T17 : 52 : 35.938 + 0000 [initandlisten] ** http://dochub.mongodb.org/core/32bit μ°Έμ‘°
2016-04-28T17 : 52 : 35.938 + 0000 [initandlisten]
2016-04-28T17 : 52 : 35.938 + 0000 [initandlisten] db λ²μ v2.6.12
2016-04-28T17 : 52 : 35.938 + 0000 [initandlisten] git λ²μ : d73c92b1c85703828b55c2916a5dd4ad46535f6a
2016-04-28T17 : 52 : 35.939 + 0000 [initandlisten] λΉλ μ 보 : Linux ip-10-45-196-214 2.6.18-194.el5xen # 1 SMP Tue Mar 16 22:08:06 EDT 2010 i686 BOOST_LIB_VERSION = 1_49
2016-04-28T17 : 52 : 35.939 + 0000 [initandlisten] ν λΉ μ : μμ€ν
2016-04-28T17 : 52 : 35.939 + 0000 [initandlisten] μ΅μ
: {}
2016-04-28T17 : 52 : 36.151 + 0000 [initandlisten] ν¬νΈ 27017μμ μ°κ²° λκΈ° μ€
2016-04-28T17 : 53 : 36.158 + 0000 [clientcursormon] mem (MB) res : 60 virt : 284
2016-04-28T17 : 53 : 36.158 + 0000 [clientcursormon] 맀ν : 160
2016-04-28T17 : 53 : 36.158 + 0000 [clientcursormon] μ°κ²° : 0
2016-04-28T17 : 55 : 36.287 + 0000 [TTLMonitor] query freecodecamp.system.indexes query : {expireAfterSeconds : {$ exists : true}} planSummary : COLLSCAN ntoreturn : 0 ntoskip : 0 nscanned : 5 nscann edObjects : 5 k eyUpdates : 0 numYields : 0 locks (micros) r : 134030 nreturned : 1 reslen : 129134ms
2016-04-28T17 : 57 : 36.294 + 0000 [PeriodicTaskRunner] μμ
: DBConnectionPool-cleaner μμ μκ° : 19ms
2016-04-28T17 : 57 : 36.402 + 0000 [PeriodicTaskRunner] μμ
: WriteBackManager :: cleaner μμ : 59ms
2016-04-28T17 : 57 : 39.348 + 0000 [TTLMonitor] query freecodecamp.system.indexes query : {expireAfterSeconds : {$ exists : true}} planSummary : COLLSCAN ntoreturn : 0 ntoskip : 0 nscanned : 5 nscann edObjects : 5 k eyUpdates : 0 numYields : 0 locks (micros) r : 857003 nreturned : 1 reslen : 129857ms
2016-04-28T17 : 57 : 40.773 + 0000 [TTLMonitor] query local.system.indexes query : {expireAfterSeconds : {$ exists : true}} planSummary : COLLSCAN ntoreturn : 0 ntoskip : 0 nscanned : 1 nscann edObjects : 1 k eyUpdates : 0 numYields : 0 locks (micros) r : 582655 nreturned : 0 reslen : 20582ms
2016-04-28T17 : 58 : 37.044 + 0000 [PeriodicTaskRunner] μμ
: DBConnectionPool-cleaner μμ μκ° : 84ms
2016-04-28T17 : 58 : 38.946 + 0000 [PeriodicTaskRunner] μμ
: WriteBackManager :: cleaner μμ : 160ms
2016-04-28T17 : 58 : 39.057 + 0000 [PeriodicTaskRunner] μμ
: DBConnectionPool-cleaner μμ μκ° : 9ms
2016-04-28T17 : 58 : 43.805 + 0000 [TTLMonitor] query admin.system.indexes query : {expireAfterSeconds : {$ exists : true}} planSummary : EOF ntoreturn : 0 ntoskip : 0 nscanned : 0 nscann edObjects : 0 k eyUpdates : 0 numYields : 0 locks (micros) r : 1850273 nreturned : 0 reslen : 20 1369ms
2016-04-28T17 : 58 : 45.352 + 0000 [TTLMonitor] query freecodecamp.system.indexes query : {expireAfterSeconds : {$ exists : true}} planSummary : COLLSCAN ntoreturn : 0 ntoskip : 0 nscanned : 5 nscann edObjects : 5 k eyUpdates : 0 numYields : 0 locks (micros) r : 810851 nreturned : 1 reslen : 129788ms
2016-04-28T17 : 58 : 45.825 + 0000 [TTLMonitor] query local.system.indexes query : {expireAfterSeconds : {$ exists : true}} planSummary : COLLSCAN ntoreturn : 0 ntoskip : 0 nscanned : 1 nscann edObjects : 1 k eyUpdates : 0 numYields : 0 locks (micros) r : 169044 nreturned : 0 reslen : 20169ms
2016-04-28T17 : 58 : 57.451 + 0000 [clientcursormon] mem (MB) res : 0 virt : 284
2016-04-28T17 : 58 : 57.763 + 0000 [clientcursormon] 맀ν : 160
2016-04-28T17 : 58 : 57.764 + 0000 [clientcursormon] μ°κ²° : 0
2016-04-28T17 : 59 : 40.119 + 0000 [PeriodicTaskRunner] μμ
: DBConnectionPool-cleaner μμ μκ° : 367ms
2016-04-28T17 : 59 : 40.791 + 0000 [PeriodicTaskRunner] μμ
: WriteBackManager :: cleaner μμ : 18ms
2016-04-28T17 : 59 : 40.848 + 0000 [PeriodicTaskRunner] μμ
: DBConnectionPool-cleaner μμ μκ° : 37ms
2016-04-28T17 : 59 : 48.593 + 0000 [TTLMonitor] query admin.system.indexes query : {expireAfterSeconds : {$ exists : true}} planSummary : EOF ntoreturn : 0 ntoskip : 0 nscanned : 0 nscann edObjects : 0 k eyUpdates : 0 numYields : 0 locks (micros) r : 1349076 nreturned : 0 reslen : 20 1139ms
2016-04-28T17 : 59 : 53.434 + 0000 [TTLMonitor] query freecodecamp.system.indexes query : {expireAfterSeconds : {$ exists : true}} planSummary : COLLSCAN ntoreturn : 0 ntoskip : 0 nscanned : 5 nscann edObjects : 5 k eyUpdates : 0 numYields : 0 locks (micros) r : 2772163 nreturned : 1 reslen : 129 2796ms
2016-04-28T18 : 00 : 01.726 + 0000 [TTLMonitor] query local.system.indexes query : {expireAfterSeconds : {$ exists : true}} planSummary : COLLSCAN ntoreturn : 0 ntoskip : 0 nscanned : 1 nscann edObjects : 1 k eyUpdates : 0 numYields : 0 locks (micros) r : 2770600 n λ°ν : 0 reslen : 20 2555ms
2016-04-28T18 : 00 : 41.234 + 0000 [PeriodicTaskRunner] μμ
: DBConnectionPool-cleaner μμ μκ° : 96ms
2016-04-28T18 : 00 : 41.939 + 0000 [PeriodicTaskRunner] μμ
: WriteBackManager :: cleaner μμ : 29ms
2016-04-28T18 : 00 : 42.190 + 0000 [PeriodicTaskRunner] μμ
: DBConnectionPool-cleaner μμ μκ° : 45ms
2016-04-28T18 : 01 : 06.041 + 0000 [TTLMonitor] query admin.system.indexes query : {expireAfterSeconds : {$ exists : true}} planSummary : EOF ntoreturn : 0 ntoskip : 0 nscanned : 0 nscann edObjects : 0 k eyUpdates : 0 numYields : 0 locks (micros) r : 784935 nreturned : 0 reslen : 20815ms
2016-04-28T18 : 01 : 11.587 + 0000 [TTLMonitor] query freecodecamp.system.indexes query : {expireAfterSeconds : {$ exists : true}} planSummary : COLLSCAN ntoreturn : 0 ntoskip : 0 nscanned : 5 nscann edObjects : 5 k eyUpdates : 0 numYields : 0 locks (micros) r : 4139336 nreturned : 1 reslen : 129 4160ms
2016-04-28T18 : 01 : 16.434 + 0000 [TTLMonitor] query local.system.indexes query : {expireAfterSeconds : {$ exists : true}} planSummary : COLLSCAN ntoreturn : 0 ntoskip : 0 nscanned : 1 nscann edObjects : 1 k eyUpdates : 0 numYields : 1 locks (micros) r : 2009378 nreturned : 0 reslen : 20 1410ms
2016-04-28T18 : 01 : 42.738 + 0000 [PeriodicTaskRunner] μμ
: DBConnectionPool-cleaner μμ μκ° : 106ms
2016-04-28T18 : 01 : 43.686 + 0000 [PeriodicTaskRunner] μμ
: WriteBackManager :: cleaner μμ : 50ms
2016-04-28T18 : 01 : 43.873 + 0000 [PeriodicTaskRunner] μμ
: DBConnectionPool-cleaner μμ μκ° : 26ms
2016-04-28T18 : 02 : 18.230 + 0000 [TTLMonitor] query admin.system.indexes query : {expireAfterSeconds : {$ exists : true}} planSummary : EOF ntoreturn : 0 ntoskip : 0 nscanned : 0 nscann edObjects : 0 k eyUpdates : 0 numYields : 0 locks (micros) r : 425988 nreturned : 0 reslen : 20368ms
2016-04-28T18 : 02 : 20.878 + 0000 [TTLMonitor] query freecodecamp.system.indexes query : {expireAfterSeconds : {$ exists : true}} planSummary : COLLSCAN ntoreturn : 0 ntoskip : 0 nscanned : 5 nscann edObjects : 5 k eyUpdates : 0 numYields : 0 locks (micros) r : 1093363 nreturned : 1 reslen : 129 1000ms
2016-04-28T18 : 02 : 24.441 + 0000 [TTLMonitor] query local.system.indexes query : {expireAfterSeconds : {$ exists : true}} planSummary : COLLSCAN ntoreturn : 0 ntoskip : 0 nscanned : 1 nscann edObjects : 1 k eyUpdates : 0 numYields : 1 locks (micros) r : 2250763 nreturned : 0 reslen : 20962ms
2016-04-28T18 : 02 : 44.228 + 0000 [PeriodicTaskRunner] μμ
: DBConnectionPool-cleaner μμ μκ° : 42ms
2016-04-28T18 : 02 : 45.293 + 0000 [PeriodicTaskRunner] μμ
: WriteBackManager :: cleaner μμ : 13ms
2016-04-28T18 : 02 : 46.012 + 0000 [PeriodicTaskRunner] μμ
: DBConnectionPool-cleaner μμ μκ° : 101ms
λ°λΌμ μ°κ²°μ λ§λλ λ° νμ€ν λ¬Έμ κ° μμ΅λλ€.
MongoError : localhost : 27017μ λν μ°κ²° 0μ΄ μκ° μ΄κ³Όλμμ΅λλ€.
Function.MongoError.create (/home/vagrant/vagrant_node_modules/node_modules/mongodb-core/lib/error.js:29:11)
VMμμ μ€νμ€μΈ node / npm λ²μ μ 무μμ λκΉ?
λν ν μλ ν¨μ μ²΄μΈ μμ
μ΄κ²μ μΌλΆ λͺ¨λμ μ΄μ λ²μ μ΄ μ€ν μ€μμ λνλ
λλ€. node_modulesμ npm install
λ€μ μ§μ°κ³ μΆμ μ μμ΅λλ€.
μ§κΈ μλν΄ λ³΄κ² μ΅λλ€.
μ΄ μ¬μ΄νΈλ§μ μν΄μ΄ VMμ ꡬμ±νλ©΄ λͺ¨λ κ²μ΄ κ°μ₯ μ΅κ·Όμ μμ μ μΈ λ¦΄λ¦¬μ€κ°λ©λλ€.
vagrant @ precise32 : ~ $ λ
Έλ -v
v5.11.0
vagrant @ precise32 : ~ $ npm -v
3.8.7
κ·Έλ¦¬κ³ λ€μ 첫λ μ λμκ°μ΅λλ€. κ·Έλμ νΈνλμ§ μλ κ²μ΄ μλ€λ©΄ μ ν μ€νλμ§ μμμκΉμ?
μ§κΈ λ Έλ λͺ¨λμ λ€μ μ€μΉνλ©΄ λ¬Έμ κ° ν΄κ²°λκΈ°λ₯Ό λ°λλλ€.
λ Έλ λͺ¨λμ λ€μ μ€μΉνμΌλ©° λμΌν κ²°κ³Όλ₯Ό μ»κ³ μμ΅λλ€. λλ λͺ½κ³ μ λͺ¨λ λ°μ΄ν°λ₯Ό λ―μ΄ λ΄κ³ λ€μ μλ ν κ²μ λλ€.
λλ λ€μ μλνκ³ κΏκΊ½ κΏκΊ½ μ€ννκ³ μκ° μ΄κ³Ό μ€λ₯κ° μ¬λΌμ‘μ§ λ§ μ²΄μΈ λ©μμ§λ κ·Έλ μ§ μμμ΅λλ€.
λν ν μλ ν¨μ μ²΄μΈ μμ
Local: http://localhost:3001
External: http://10.0.2.15:3001
UI: http://localhost:3002
UI μΈλΆ : http://10.0.2.15 : 3002
[BS] νμΌλ³΄κΈ° ...
λν ν μλ ν¨μ μ²΄μΈ μμ
fcc : user : μ격 μ€μ μ¬μ©μ νν¬ + 0ms
http://127.0.0.1 : 3000 / explorerμμ REST APIλ₯Ό μ°Ύμ보μμμ€.
κ°λ°μ€μΈ ν¬νΈ 3000μμ μμ λκΈ°μ€μΈ FreeCodeCamp μλ²
ν¬νΈ 1337μμ μμ νλ https 리λλ μ
μ΄μ μ¬μ΄νΈκ° μ μμ μΌλ‘ μλ΅ν©λλ€. κ·Έλ¬λ κ°μ ν λμ΄ μ€λ₯κ° λ°μν©λλ€.
ν νμ΄μ§λ‘ λμκ°μ λ€λ₯Έ νμ΄μ§λ₯Ό λ°©λ¬Ένλ €κ³ νλ©΄ λ°λ‘ νμ μμ 루νλ‘ λμκ°λλ€.
κ°λ°μ€μΈ ν¬νΈ 3000μμ μμ λκΈ°μ€μΈ FreeCodeCamp μλ²
ν¬νΈ 1337μμ μμ νλ https 리λλ μ
304 GET 26166.008 ms-/
301 GET 8104.394 ms-/ λ‘κ·ΈμΈ
404 GET 22920.000 ms-/ api / flyers / findOne? filter % 5Border % 5D = id + DESC
304 GET 17127.156 ms-/ λ‘κ·ΈμΈ
404 GET 3901.238 ms-/ api / flyers / findOne? filter % 5Border % 5D = id + DESC
304 GET 10324.801 ms-/ email-signup
fcc : user : μ격 νμΈ μ‘΄μ¬ + 5m
fcc : user : remote μ¬κΈ°μ + 60ms {μ΄λ©μΌ : 'dweber. [email protected] '}
404 GET 8756.846 ms-/ api / flyers / findOne? filter % 5Border % 5D = id + DESC
fcc : user : μ격 μ¬μ©μ μμ±, μ΄λ©μΌ μ μ‘ + 8s
fcc : user : μ격 νμ μ΄λ©μΌ 보λ΄κΈ° + 86ms
500 POST 17528.131ms-/ api / users
304 GET 3851.423 ms-/
404 GET 169.129 ms-/ api / flyers / findOne? filter % 5Border % 5D = id + DESC
301 GET 39.106 ms-/ λ‘κ·ΈμΈ
304 GET 950.838 ms-/ λ‘κ·ΈμΈ
404 GET 165.353 ms-/ api / flyers / findOne? filter % 5Border % 5D = id + DESC
304 GET 1074.357 ms-/ email-signin
404 GET 1388.679 ms-/ api / flyers / findOne? filter % 5Border % 5D = id + DESC
fcc : user : μ격 μ€μ μΏ ν€ + 2m
fcc : user : μ격 μ¬μ©μ λ‘κ·ΈμΈ + 116ms
302 POST 3306.162ms-/ api / users / login
304 GET 4508.902 ms-/
404 GET 1341.159 ms-/ api / flyers / findOne? filter % 5Border % 5D = id + DESC
μ€λ₯ : 20000ms ν μ°κ²° μκ° μ΄κ³Ό
Timeout._onTimeoutμμ (/home/vagrant/vagrant_node_modules/node_modules/loopback-datasource-juggler/lib/datasource.js:2135:10)
tryOnTimeoutμμ (timers.js : 224 : 11)
Timer.listOnTimeout (timers.js : 198 : 5)
500 GET 2371.159 ms-/ map-aside
μ€λ₯ : 20000ms ν μ°κ²° μκ° μ΄κ³Ό
Timeout._onTimeoutμμ (/home/vagrant/vagrant_node_modules/node_modules/loopback-datasource-juggler/lib/datasource.js:2135:10)
tryOnTimeoutμμ (timers.js : 224 : 11)
Timer.listOnTimeout (timers.js : 198 : 5)
500 GET 1217.055 ms-/ μ½
μκ° μ΄κ³Όμ Mongo λ‘κ·Έ :
2016-04-28T18 : 56 : 50.774 + 0000 [PeriodicTaskRunner] μμ
: DBConnectionPool-cleaner μμ μκ° : 9ms
2016-04-28T18 : 56 : 50.790 + 0000 [PeriodicTaskRunner] μμ
: WriteBackManager :: cleaner μμ : 16ms
2016-04-28T18 : 57 : 25.381 + 0000 [TTLMonitor] query freecodecamp.system.indexes query : {expireAfterSeconds : {$ exists : true}} planSummary : COLLSCAN ntoreturn : 0 ntoskip : 0 k eyUpdates : 0 numYields : 0 locks ( micros) r : 113538 n λ°ν reslen : 129113ms
2016-04-28T18 : 57 : 50.930 + 0000 [PeriodicTaskRunner] μμ
: DBConnectionPool-cleaner μμ μκ° : 69ms
2016-04-28T18 : 57 : 50.958 + 0000 [PeriodicTaskRunner] μμ
: WriteBackManager :: cleaner μμ : 27ms
2016-04-28T18 : 58 : 07.749 + 0000 [conn29] query freecodecamp.sessions query : {_id : "4gbPret1xw4xC50C8oU86Ea6P1tJDZa0", $ or : [{λ§λ£ : {$ exists : false}}, {λ§λ£ : {$ gt : μ κ· λ μ§ (1461869887345)}}]} planSummary : IXSCAN {_id : 1} ntoskip : 0 nscanned : 1 nscann edObjects : 1 k eyUpdates : 0 numYields : 0 locks (micros) r : 369348 nreturned : 1 reslen : 246 369ms
2016-04-28T18 : 58 : 08.126 + 0000μ [conn24] 쿼리 freecodecamp.AccessToken 쿼리 {ORDERBYλ {_idκ° 1} 쿼리 $ {_id "lKGhksQqVJO6hcsDnlEKadmZ1O4AuP2Vl8DKiSqyetdOxNADzzrQzv2B0SsC75wX"}} planSummary : IDHACK ntoreturn 1 ntoskip : 0 nscanned : 1 nscann edObjects : 1 idhack : 1 k eyUpdates : 0 numYields : 0 locks (micros) r : 134863 nreturned : 1 reslen : 145134ms
2016-04-28T18 : 58 : 08.849 + 0000 [conn29] μ
λ°μ΄νΈ freecodecamp.sessions 쿼리 : {_id : "4gbPret1xw4xC50C8oU86Ea6P1tJDZa0"} μ
λ°μ΄νΈ : {_id : "4gbPret1xw4xC50C8oU86": {65999995353JDZa0 ", μΈμ
:"{ "cookie": {6P1tJDZa0 " , "expires": "2018-10-15T18 : 58 : 08.415Z", "httpOnly": true, "path": "/"}, "passport": {}, "flash": {}, "returnTo" : "/ map"} ", λ§λ£ : μ λ μ§ (1539629888415)} nscanned : 1 nscann edObjects : 1 nMatched : 1 nModified : 1 k eyUpdates : 1 numYields : 0 locks (micros) w : 116522 145ms
2016-04-28T18 : 58 : 08.858 + 0000 [conn29] λͺ
λ Ή freecodecamp. $ cmd λͺ
λ Ή : update {update : "sessions", μ
λ°μ΄νΈ : [{q : {_id : "4gbPret1xw4xC50C8oU86Ea6P1tJDZa0"}, u : {_id : "4PgbPretJDZa0xC50C8oU86a6) ", μΈμ
:"{ "cookie": { "originalMaxAge": 77759999953, "expires": "2018-10-15T18 : 58 : 08.415Z", "httpOnly": true, "path": "/"}, " passport ": {},"flash ": {},"returnTo ":"/ map "}", λ§λ£ : new Date (1539629888415)}, upsert : true, multi : false}], ordered : true} k eyUpdates : 0 numYields : 0 reslen : 55206ms
2016-04-28T18 : 58 : 25.738 + 0000 [TTLMonitor] query freecodecamp.system.indexes query : {expireAfterSeconds : {$ exists : true}} planSummary : COLLSCAN ntoreturn : 0 ntoskip : 0 k eyUpdates : 0 numYields : 0 locks ( micros) r : 101268 n λ°ν reslen : 129101ms
2016-04-28T18 : 58 : 32.782 + 0000 [clientcursormon] mem (MB) res : 2 virt : 296
2016-04-28T18 : 58 : 32.782 + 0000 [clientcursormon] 맀ν λ¨ : 160
2016-04-28T18 : 58 : 32.782 + 0000 [clientcursormon] μ°κ²° : 12
μ¬μ ν μ£Όλ³μ νμ ν μ μμ΅λλ€. μ 보 νμ΄μ§ λ° λ§΅ νμ΄μ§μμ 루νλ°± μκ° μ΄κ³Όλ₯Ό μ 곡νλ κ² κ°μ΅λλ€.
λλ λΉμ μ΄ λ°μλ€λ κ²μ νμ νλ―λ‘ μ΄κ²μ μ€μ€λ‘ μμ λ΄λ €κ³ λ Έλ ₯ν κ²μ λλ€. κ·Έλ κ²νλ©΄ μ λ°μ΄νΈλ©λλ€.
λ°©κΈ ubuntu 14 64 λΉνΈ μΈ μ VMμ μ€μ νμ΅λλ€. λ§μ§λ§μ Ubuntu 12 32 λΉνΈμμ΅λλ€. λν mongo λ°μ΄ν° ν΄λμ κΆνμ 곡μ ν΄λμ λμΌν κ·Έλ£Ή λ° μμ μλ₯Ό κ°λλ‘ λ³κ²½νμ΅λλ€ (λ°©λμ).
μ΄μ λͺ¨λ κ²μ΄ μλνλ―λ‘ mongodbλ₯Ό 32 λΉνΈ λͺ¨λμμ μ€ννλ κ²κ³Ό κ΄λ ¨μ΄μλ κ² κ°μ΅λλ€.
μ λ¦¬ν΄ μ£Όμ μ κ°μ¬ν©λλ€.
λλ! λΉμ μ λμμ μ£Όμ μ κ°μ¬ν©λλ€!
μ΄μ λͺ¨λ κ²μ΄ μλνλ―λ‘ mongodbλ₯Ό 32 λΉνΈ λͺ¨λμμ μ€ννλ κ²κ³Ό κ΄λ ¨μ΄μλ κ² κ°μ΅λλ€.
mongodb 32 λΉνΈ μμ€ν μμ λμΌν μ€λ₯κ° λ°μνμ΅λλ€. x64λ‘ λ§μ΄κ·Έλ μ΄μ ν©λλ€.
64 λΉνΈ μ€μΉκ° μμ§λ§ λμΌν μ€λ₯κ° λ°μν©λλ€. node_modules
νκ³ μλ©λ λμμ΄λμ§ μμμ΅λλ€.
μ¬κ΅¬λ§€ ν λ‘κ·Έ-
κΏκΊ½ κΏκΊ½-
challenge seed completed
manish-mbp-13:FreeCodeCamp manishgiri$ gulp
[23:42:44] Using gulpfile ~/Github/FCC/FreeCodeCamp/gulpfile.js
[23:42:44] Starting 'less'...
[23:42:44] Starting 'serve'...
[23:42:45] Starting 'js'...
[23:42:45] [nodemon] 1.11.0
[23:42:45] [nodemon] to restart at any time, enter `rs`
[23:42:45] [nodemon] watching: *.*
[23:42:45] [nodemon] starting `/Users/manishgiri/Github/FCC/FreeCodeCamp/node_modules/.bin/babel-node ./server/server.js`
[23:42:45] Finished 'serve' after 1.07 s
fcc:user:remote setting up user hooks +0ms
[23:42:51] Finished 'less' after 7.01 s
[23:42:52] Finished 'js' after 6.85 s
[23:42:52] Starting 'dev-server'...
[23:42:52] Finished 'dev-server' after 445 ms
[23:42:52] Starting 'watch'...
[23:42:52] Finished 'watch' after 177 ms
[23:42:52] Starting 'default'...
[23:42:52] Finished 'default' after 3.8 ΞΌs
[BS] Proxying: http://localhost:3001
[BS] Access URLs:
--------------------------------------
Local: http://localhost:3000
External: http://10.39.248.153:3000
--------------------------------------
UI: http://localhost:3002
UI External: http://10.39.248.153:3002
--------------------------------------
[BS] Watching files...
strong-remoting deprecated The built-in CORS middleware provided by REST adapter was deprecated. See https://docs.strongloop.com/display/public/LB/Security+considerations for more details. node_modules/strong-remoting/lib/remote-objects.js:97:25
loopback-explorer deprecated The built-in CORS middleware provided by loopback-component-explorer was deprecated. See https://docs.strongloop.com/display/public/LB/Security+considerations for more details. server/boot/explorer.js:22:3
Browse your REST API at http://127.0.0.1:3001/explorer
FreeCodeCamp server listening on port 3001 in development
https redirect listening on port 1337
webpack built ae3f61b1f36b90fac17b in 30204ms
WARNING in ./~/babel-core/lib/transformation/file/options/option-manager.js
Critical dependencies:
174:19-37 the request of a dependency is an expression
302:16-34 the request of a dependency is an expression
@ ./~/babel-core/lib/transformation/file/options/option-manager.js 174:19-37 302:16-34
WARNING in ./~/babel-core/lib/transformation/file/index.js
Critical dependencies:
510:24-39 the request of a dependency is an expression
709:16-34 the request of a dependency is an expression
@ ./~/babel-core/lib/transformation/file/index.js 510:24-39 709:16-34
webpack: bundle is now VALID.
302 GET 82.157 ms - /js8fc32780208142da0847.hot-update.json
200 GET 2684.197 ms - /en/js8fc32780208142da0847.hot-update.json
302 GET 11.474 ms - /
200 GET 670.878 ms - /en/
302 GET 5.992 ms - /
200 GET 502.238 ms - /en/
loopback deprecated loopback#context middleware is deprecated. See https://docs.strongloop.com/display/APIC/Using%20current%20context for more details. node_modules/loopback/server/middleware/rest.js:60:32
404 GET 334.603 ms - /api/flyers/findOne?filter%5Border%5D=id+DESC
302 GET 5.881 ms - /map
fcc:react-server render react markup and pre-fetch data +44s
fcc:services:map en language requested +104ms
fcc:services:map en language requested +15ms
fcc:services:map en language requested +2ms
fcc:react-server react markup rendered, data fetched +44ms
fcc:react-server html rendered and ready to send +212ms
200 GET 563.737 ms - /en/map
200 GET 15.231 ms - /services/user?_csrf=ULtQiCxE-GXGbxiNeJEHwKcMSz0x3v2wHfog&returnMeta=true
fcc:services:map en language requested +3s
500 GET 9.701 ms - /services/map;lang=en?_csrf=ULtQiCxE-GXGbxiNeJEHwKcMSz0x3v2wHfog&returnMeta=true
fcc:services:map en language requested +148ms
500 GET 8.817 ms - /services/map;lang=en?_csrf=ULtQiCxE-GXGbxiNeJEHwKcMSz0x3v2wHfog&returnMeta=true
fcc:services:map en language requested +29ms
500 GET 7.694 ms - /services/map;lang=en?_csrf=ULtQiCxE-GXGbxiNeJEHwKcMSz0x3v2wHfog&returnMeta=true
fcc:services:map en language requested +7m
λͺ½κ³ -
manish-mbp-13:FreeCodeCamp manishgiri$ mongod
2016-12-13T23:40:03.903-0500 I CONTROL [initandlisten] MongoDB starting : pid=9497 port=27017 dbpath=/data/db 64-bit host=manish-mbp-13.engr.uc.edu
2016-12-13T23:40:03.903-0500 I CONTROL [initandlisten] db version v3.4.0
2016-12-13T23:40:03.904-0500 I CONTROL [initandlisten] git version: f4240c60f005be757399042dc12f6addbc3170c1
2016-12-13T23:40:03.904-0500 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.2j 26 Sep 2016
2016-12-13T23:40:03.904-0500 I CONTROL [initandlisten] allocator: system
2016-12-13T23:40:03.904-0500 I CONTROL [initandlisten] modules: none
2016-12-13T23:40:03.904-0500 I CONTROL [initandlisten] build environment:
2016-12-13T23:40:03.904-0500 I CONTROL [initandlisten] distarch: x86_64
2016-12-13T23:40:03.904-0500 I CONTROL [initandlisten] target_arch: x86_64
2016-12-13T23:40:03.904-0500 I CONTROL [initandlisten] options: {}
2016-12-13T23:40:03.904-0500 W - [initandlisten] Detected unclean shutdown - /data/db/mongod.lock is not empty.
2016-12-13T23:40:03.935-0500 I - [initandlisten] Detected data files in /data/db created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'.
2016-12-13T23:40:03.936-0500 W STORAGE [initandlisten] Recovering data from the last clean checkpoint.
2016-12-13T23:40:03.936-0500 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=3584M,session_max=20000,eviction=(threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),checkpoint=(wait=60,log_size=2GB),statistics_log=(wait=0),
2016-12-13T23:40:09.237-0500 I CONTROL [initandlisten]
2016-12-13T23:40:09.237-0500 I CONTROL [initandlisten] ** WARNING: Access control is not enabled for the database.
2016-12-13T23:40:09.237-0500 I CONTROL [initandlisten] ** Read and write access to data and configuration is unrestricted.
2016-12-13T23:40:09.237-0500 I CONTROL [initandlisten]
2016-12-13T23:40:09.237-0500 I CONTROL [initandlisten]
2016-12-13T23:40:09.237-0500 I CONTROL [initandlisten] ** WARNING: soft rlimits too low. Number of files is 256, should be at least 1000
2016-12-13T23:40:09.707-0500 I FTDC [initandlisten] Initializing full-time diagnostic data capture with directory '/data/db/diagnostic.data'
2016-12-13T23:40:09.708-0500 I NETWORK [thread1] waiting for connections on port 27017
2016-12-13T23:40:10.032-0500 I FTDC [ftdc] Unclean full-time diagnostic data capture shutdown detected, found interim file, some metrics may have been lost. OK
2016-12-13T23:40:26.768-0500 I NETWORK [thread1] connection accepted from 127.0.0.1:61540 #1 (1 connection now open)
2016-12-13T23:40:26.768-0500 I NETWORK [conn1] received client metadata from 127.0.0.1:61540 conn1: { application: { name: "MongoDB Shell" }, driver: { name: "MongoDB Internal Client", version: "3.4.0" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "16.1.0" } }
2016-12-13T23:41:43.240-0500 I NETWORK [thread1] connection accepted from 127.0.0.1:61559 #2 (2 connections now open)
2016-12-13T23:41:43.241-0500 I NETWORK [thread1] connection accepted from 127.0.0.1:61560 #3 (3 connections now open)
2016-12-13T23:41:43.254-0500 I NETWORK [conn3] received client metadata from 127.0.0.1:61560 conn3: { driver: { name: "nodejs", version: "2.2.16" }, os: { type: "Darwin", name: "darwin", architecture: "x64", version: "16.1.0" }, platform: "Node.js v6.9.2, LE, mongodb-core: 2.1.2" }
2016-12-13T23:41:43.265-0500 I - [conn2] end connection 127.0.0.1:61559 (3 connections now open)
μμ²μ μ¬κ°
μ
λ°μ΄νΈ λ¨ : λͺ¨λ λ
Έλ λͺ¨λΈμ μ΅μ λ²μ μΌλ‘ μ
λ°μ΄νΈνκ³ gulp μμ
μΌλ‘ localhostμ μλ²½νκ² κ²°ν©
μ
λ°μ΄νΈ λ¨ : κΈ°λ³Έμ μΌλ‘ μ°κ²°μ 쿼리νλ λ λμ mongod ini μΈμ€ν΄μ€.
fizzvr@fizz-machine:~/disco/proyectosgithub/FreeCodeCamp$ mongod --journal
2016-12-15T14:56:33.093-0500 I CONTROL [initandlisten] MongoDB starting : pid=2364 port=27017 dbpath=/data/db 32-bit host=fizz-machine
2016-12-15T14:56:33.093-0500 I CONTROL [initandlisten] db version v3.2.11-33-g9d92066
2016-12-15T14:56:33.093-0500 I CONTROL [initandlisten] git version: 9d920663421437e65706b0587077781895984e2d
2016-12-15T14:56:33.093-0500 I CONTROL [initandlisten] allocator: tcmalloc
2016-12-15T14:56:33.093-0500 I CONTROL [initandlisten] modules: none
2016-12-15T14:56:33.093-0500 I CONTROL [initandlisten] build environment:
2016-12-15T14:56:33.093-0500 I CONTROL [initandlisten] distarch: i686
2016-12-15T14:56:33.093-0500 I CONTROL [initandlisten] target_arch: i386
2016-12-15T14:56:33.093-0500 I CONTROL [initandlisten] options: { storage: { journal: { enabled: true } } }
2016-12-15T14:56:33.207-0500 I - [initandlisten] Detected data files in /data/db created by the 'mmapv1' storage engine, so setting the active storage engine to 'mmapv1'.
2016-12-15T14:56:33.249-0500 I JOURNAL [initandlisten] journal dir=/data/db/journal
2016-12-15T14:56:33.252-0500 I JOURNAL [initandlisten] recover : no journal files present, no recovery needed
2016-12-15T14:56:33.321-0500 I JOURNAL [durability] Durability thread started
2016-12-15T14:56:33.322-0500 I JOURNAL [journal writer] Journal writer thread started
2016-12-15T14:56:33.368-0500 I CONTROL [initandlisten]
2016-12-15T14:56:33.368-0500 I CONTROL [initandlisten] ** WARNING: This 32-bit MongoDB binary is deprecated
2016-12-15T14:56:33.368-0500 I CONTROL [initandlisten]
2016-12-15T14:56:33.368-0500 I CONTROL [initandlisten]
2016-12-15T14:56:33.368-0500 I CONTROL [initandlisten] ** NOTE: This is a 32 bit MongoDB binary.
2016-12-15T14:56:33.368-0500 I CONTROL [initandlisten] ** 32 bit builds are limited to less than 2GB of data (or less with --journal).
2016-12-15T14:56:33.368-0500 I CONTROL [initandlisten] ** See http://dochub.mongodb.org/core/32bit
2016-12-15T14:56:33.369-0500 I CONTROL [initandlisten]
2016-12-15T14:56:33.369-0500 I CONTROL [initandlisten] ** WARNING: soft rlimits too low. rlimits set to 11937 processes, 65536 files. Number of processes should be at least 32768 : 0.5 times number of files.
2016-12-15T14:56:33.369-0500 I CONTROL [initandlisten]
2016-12-15T14:56:33.416-0500 I FTDC [initandlisten] Initializing full-time diagnostic data capture with directory '/data/db/diagnostic.data'
2016-12-15T14:56:33.417-0500 I NETWORK [initandlisten] waiting for connections on port 27017
2016-12-15T14:56:33.417-0500 I NETWORK [HostnameCanonicalizationWorker] Starting hostname canonicalization worker
2016-12-15T14:59:32.381-0500 I NETWORK [initandlisten] connection accepted from 127.0.0.1:37722 #1 (1 connection now open)
2016-12-15T14:59:32.383-0500 I NETWORK [initandlisten] connection accepted from 127.0.0.1:37723 #2 (2 connections now open)
2016-12-15T14:59:32.516-0500 I NETWORK [conn1] end connection 127.0.0.1:37722 (1 connection now open)
2016-12-15T14:59:32.728-0500 I NETWORK [initandlisten] connection accepted from 127.0.0.1:37724 #3 (2 connections now open)
2016-12-15T14:59:32.909-0500 I NETWORK [initandlisten] connection accepted from 127.0.0.1:37725 #4 (3 connections now open)
2016-12-15T14:59:33.079-0500 I NETWORK [initandlisten] connection accepted from 127.0.0.1:37726 #5 (4 connections now open)
2016-12-15T14:59:33.086-0500 I NETWORK [initandlisten] connection accepted from 127.0.0.1:37727 #6 (5 connections now open)
2016-12-15T14:59:33.089-0500 I NETWORK [initandlisten] connection accepted from 127.0.0.1:37728 #7 (6 connections now open)
2016-12-15T14:59:55.460-0500 I COMMAND [conn2] command freecodecamp.$cmd command: update { update: "sessions", updates: [ { q: { _id: "qDgTLouZ5L9ocqcnYvCH40zQrn6W-YaN" }, u: { _id: "qDgTLouZ5L9ocqcnYvCH40zQrn6W-YaN", session: "{"cookie":{"originalMaxAge":77760000000,"expires":"2019-06-03T19:59:55.078Z","httpOnly":true,"path":"/"}}", expires: new Date(1559591995078) }, upsert: true, multi: false } ], ordered: true } keyUpdates:0 writeConflicts:0 numYields:0 reslen:131 locks:{ Global: { acquireCount: { r: 1, w: 1 } }, MMAPV1Journal: { acquireCount: { w: 2 }, acquireWaitCount: { w: 1 }, timeAcquiringMicros: { w: 54 } }, Database: { acquireCount: { w: 1 } }, Collection: { acquireCount: { W: 1 } } } protocol:op_query 106ms
2016-12-15T15:00:06.790-0500 I NETWORK [initandlisten] connection accepted from 127.0.0.1:37741 #8 (7 connections now open)
2016-12-15T15:00:06.792-0500 I NETWORK [initandlisten] connection accepted from 127.0.0.1:37742 #9 (8 connections now open)
2016-12-15T15:00:07.059-0500 I NETWORK [initandlisten] connection accepted from 127.0.0.1:37744 #10 (9 connections now open)
2016-12-15T15:00:07.060-0500 I NETWORK [initandlisten] connection accepted from 127.0.0.1:37745 #11 (10 connections now open)
2016-12-15T15:01:33.194-0500 I NETWORK [conn4] end connection 127.0.0.1:37725 (9 connections now open)
2016-12-15T15:01:33.290-0500 I NETWORK [conn3] end connection 127.0.0.1:37724 (8 connections now open)
2016-12-15T15:01:33.482-0500 I NETWORK [conn5] end connection 127.0.0.1:37726 (7 connections now open)
2016-12-15T15:01:33.501-0500 I NETWORK [conn6] end connection 127.0.0.1:37727 (6 connections now open)
2016-12-15T15:05:51.045-0500 I NETWORK [conn11] end connection 127.0.0.1:37745 (5 connections now open)
2016-12-15T15:05:51.046-0500 I NETWORK [conn10] end connection 127.0.0.1:37744 (4 connections now open)
2016-12-15T15:05:51.046-0500 I NETWORK [conn9] end connection 127.0.0.1:37742 (3 connections now open)
2016-12-15T15:05:51.047-0500 I NETWORK [conn8] end connection 127.0.0.1:37741 (2 connections now open)
2016-12-15T15:05:51.047-0500 I NETWORK [conn2] end connection 127.0.0.1:37723 (1 connection now open)
2016-12-15T15:05:51.047-0500 I NETWORK [conn7] end connection 127.0.0.1:37728 (1 connection now open)
2016-12-15T15:19:03.687-0500 I NETWORK [initandlisten] connection accepted from 127.0.0.1:37947 #12 (1 connection now open)
2016-12-15T15:19:03.689-0500 I NETWORK [initandlisten] connection accepted from 127.0.0.1:37948 #13 (2 connections now open)
2016-12-15T15:19:03.916-0500 I NETWORK [conn12] end connection 127.0.0.1:37947 (1 connection now open)
2016-12-15T15:19:03.991-0500 I NETWORK [initandlisten] connection accepted from 127.0.0.1:37949 #14 (2 connections now open)
2016-12-15T15:19:04.067-0500 I NETWORK [initandlisten] connection accepted from 127.0.0.1:37950 #15 (3 connections now open)
2016-12-15T15:19:04.071-0500 I NETWORK [initandlisten] connection accepted from 127.0.0.1:37951 #16 (4 connections now open)
2016-12-15T15:19:04.075-0500 I NETWORK [initandlisten] connection accepted from 127.0.0.1:37952 #17 (5 connections now open)
2016-12-15T15:19:04.077-0500 I NETWORK [initandlisten] connection accepted from 127.0.0.1:37953 #18 (6 connections now open)
2016-12-15T15:19:04.176-0500 I COMMAND [conn14] command freecodecamp.block command: find { find: "block", filter: {}, sort: { superOrder: 1, order: 1 } } planSummary: COLLSCAN keysExamined:0 docsExamined:52 hasSortStage:1 cursorExhausted:1 keyUpdates:0 writeConflicts:0 numYields:2 nreturned:52 reslen:12469 locks:{ Global: { acquireCount: { r: 6 } }, MMAPV1Journal: { acquireCount: { r: 3 } }, Database: { acquireCount: { r: 3 } }, Collection: { acquireCount: { R: 3 } } } protocol:op_query 113ms
2016-12-15T15:19:04.353-0500 I COMMAND [conn16] command freecodecamp.challenge command: find { find: "challenge", filter: {}, sort: { _id: 1 }, projection: { dashedName: 1 } } planSummary: IXSCAN { _id: 1 } cursorid:30894092625 keysExamined:101 docsExamined:101 keyUpdates:0 writeConflicts:0 numYields:0 nreturned:101 reslen:7940 locks:{ Global: { acquireCount: { r: 2 } }, MMAPV1Journal: { acquireCount: { r: 1 } }, Database: { acquireCount: { r: 1 } }, Collection: { acquireCount: { R: 1 } } } protocol:op_query 238ms
2016-12-15T15:21:04.376-0500 I NETWORK [conn15] end connection 127.0.0.1:37950 (5 connections now open)
2016-12-15T15:21:04.388-0500 I NETWORK [conn17] end connection 127.0.0.1:37952 (4 connections now open)
2016-12-15T15:21:04.394-0500 I NETWORK [conn18] end connection 127.0.0.1:37953 (3 connections now open)
2016-12-15T15:21:04.502-0500 I NETWORK [conn16] end connection 127.0.0.1:37951 (2 connections now open)
"git": "2.11", "node": "7.2", "npm": "3.10"
x32 Linux Debian Jessie μ€λ₯
/ mapμμ μ¬μ ν 500 μ€λ₯
302 GET 166.398 ms - /map
TypeError: _reduxForm.reducer.normalize is not a function
at createReducer (/home/fizzvr/disco/proyectosgithub/FreeCodeCamp/common/app/create-reducer.js:19:23)
at createApp (/home/fizzvr/disco/proyectosgithub/FreeCodeCamp/common/app/create-app.jsx:66:19)
at serveReactApp (/home/fizzvr/disco/proyectosgithub/FreeCodeCamp/server/boot/react.js:49:5)
at Layer.handle [as handle_request] (/home/fizzvr/disco/proyectosgithub/FreeCodeCamp/node_modules/express/lib/router/layer.js:95:5)
at next (/home/fizzvr/disco/proyectosgithub/FreeCodeCamp/node_modules/express/lib/router/route.js:131:13)
at Route.dispatch (/home/fizzvr/disco/proyectosgithub/FreeCodeCamp/node_modules/express/lib/router/route.js:112:3)
at Layer.handle [as handle_request] (/home/fizzvr/disco/proyectosgithub/FreeCodeCamp/node_modules/express/lib/router/layer.js:95:5)
at /home/fizzvr/disco/proyectosgithub/FreeCodeCamp/node_modules/express/lib/router/index.js:277:22
at Function.process_params (/home/fizzvr/disco/proyectosgithub/FreeCodeCamp/node_modules/express/lib/router/index.js:330:12)
at next (/home/fizzvr/disco/proyectosgithub/FreeCodeCamp/node_modules/express/lib/router/index.js:271:10)
at Function.handle (/home/fizzvr/disco/proyectosgithub/FreeCodeCamp/node_modules/express/lib/router/index.js:176:3)
at router (/home/fizzvr/disco/proyectosgithub/FreeCodeCamp/node_modules/express/lib/router/index.js:46:12)
at Layer.handle [as handle_request] (/home/fizzvr/disco/proyectosgithub/FreeCodeCamp/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/home/fizzvr/disco/proyectosgithub/FreeCodeCamp/node_modules/express/lib/router/index.js:312:13)
at /home/fizzvr/disco/proyectosgithub/FreeCodeCamp/node_modules/express/lib/router/index.js:280:7
at param (/home/fizzvr/disco/proyectosgithub/FreeCodeCamp/node_modules/express/lib/router/index.js:349:14)
500 GET 83.962 ms - /en/map
Downgrade to 6.8.0
"git": "2.11", "node": "7.2", "npm": "3.10"
λ Έλ λ²μ μ 6 (μ : macOSμμ 6.8.0 μ¬μ©)μ΄λ©° https://nodejs.org μμ μ΅μ LTSλ₯Ό μ¬μ©ν΄ λ³Ό μ μμ΅λλ€
λκ΅°κ°κ° μν μ½λλΏλ§ μλλΌ μ€μ μ€λ₯λ₯Ό κ²μ ν μ μμ΅λκΉ? λμΌν μκ° μ΄κ³Ό μ€λ₯μ λκΉ? μν μ½λλ μ€λ₯ λ°μ μ΄μΈμ μ 보λ₯Ό μ 곡νμ§ μμ΅λλ€.
μ΄κ²μ ν
μ€νΈ ν λͺ¨λ μ€ν μ€ λ‘κ·Έμ μ€μ Error
κ° νμλμ§ μμμ΅λλ€. λ€μμ μ΅κ·Ό ν
μ€νΈ μ€νμ gulp
λ° mongod
λν λ‘κ·Έμ
λλ€. μ΄ λ¨κ³ μ μ mongod --repair
μ (λ₯Ό) μννκ³ - px ax | grep node
λ° px ax | grep mongod
νμ¬ node
λλ mongod
μ€νμ€μΈ μΈμ€ν΄μ€λ₯Ό νμΈ (λ° μ’
λ£)νκΈ°μν κ²μμ μννμ΅λλ€ px ax | grep mongod
, νμ€ν©λλ€.
κΏκΊ½ κΏκΊ½-
challenge seed completed
manish-mbp-13:FreeCodeCamp manishgiri$ gulp
[17:11:59] Using gulpfile ~/Github/FCC/FreeCodeCamp/gulpfile.js
[17:11:59] Starting 'less'...
[17:11:59] Starting 'serve'...
[17:12:03] Starting 'js'...
[17:12:03] [nodemon] 1.11.0
[17:12:03] [nodemon] to restart at any time, enter `rs`
[17:12:03] [nodemon] watching: *.*
[17:12:03] [nodemon] starting `/Users/manishgiri/Github/FCC/FreeCodeCamp/node_modules/.bin/babel-node ./server/server.js`
[17:12:03] Finished 'serve' after 4.26 s
[17:12:09] Finished 'less' after 9.77 s
[17:12:09] Finished 'js' after 6.41 s
[17:12:09] Starting 'dev-server'...
[17:12:10] Finished 'dev-server' after 987 ms
[17:12:10] Starting 'watch'...
[17:12:11] Finished 'watch' after 111 ms
[17:12:11] Starting 'default'...
[17:12:11] Finished 'default' after 4.09 ΞΌs
[BS] Proxying: http://localhost:3001
[BS] Access URLs:
--------------------------------------
Local: http://localhost:3000
External: http://10.40.245.137:3000
--------------------------------------
UI: http://localhost:3002
UI External: http://10.40.245.137:3002
--------------------------------------
[BS] Watching files...
fcc:user:remote setting up user hooks +0ms
strong-remoting deprecated The built-in CORS middleware provided by REST adapter was deprecated. See https://docs.strongloop.com/display/public/LB/Security+considerations for more details. node_modules/strong-remoting/lib/remote-objects.js:97:25
loopback-explorer deprecated The built-in CORS middleware provided by loopback-component-explorer was deprecated. See https://docs.strongloop.com/display/public/LB/Security+considerations for more details. server/boot/explorer.js:22:3
Browse your REST API at http://127.0.0.1:3001/explorer
FreeCodeCamp server listening on port 3001 in development
https redirect listening on port 1337
webpack built ae3f61b1f36b90fac17b in 29157ms
WARNING in ./~/babel-core/lib/transformation/file/options/option-manager.js
Critical dependencies:
174:19-37 the request of a dependency is an expression
302:16-34 the request of a dependency is an expression
@ ./~/babel-core/lib/transformation/file/options/option-manager.js 174:19-37 302:16-34
WARNING in ./~/babel-core/lib/transformation/file/index.js
Critical dependencies:
510:24-39 the request of a dependency is an expression
709:16-34 the request of a dependency is an expression
@ ./~/babel-core/lib/transformation/file/index.js 510:24-39 709:16-34
webpack: bundle is now VALID.
302 GET 867.826 ms - /
200 GET 9927.120 ms - /en/
loopback deprecated loopback#context middleware is deprecated. See https://docs.strongloop.com/display/APIC/Using%20current%20context for more details. node_modules/loopback/server/middleware/rest.js:60:32
404 GET 361.882 ms - /api/flyers/findOne?filter%5Border%5D=id+DESC
302 GET 6.446 ms - /map
fcc:react-server render react markup and pre-fetch data +1m
fcc:services:map en language requested +105ms
fcc:services:map en language requested +12ms
fcc:services:map en language requested +2ms
fcc:react-server react markup rendered, data fetched +53ms
fcc:react-server html rendered and ready to send +280ms
200 GET 622.898 ms - /en/map
200 GET 10.070 ms - /services/user?_csrf=KD2z9amM-JtWBLa3om3zGbEtSpzbd7Ljr3dM&returnMeta=true
fcc:services:map en language requested +3s
500 GET 9.197 ms - /services/map;lang=en?_csrf=KD2z9amM-JtWBLa3om3zGbEtSpzbd7Ljr3dM&returnMeta=true
fcc:services:map en language requested +545ms
500 GET 12.824 ms - /services/map;lang=en?_csrf=KD2z9amM-JtWBLa3om3zGbEtSpzbd7Ljr3dM&returnMeta=true
fcc:services:map en language requested +58ms
500 GET 10.135 ms - /services/map;lang=en?_csrf=KD2z9amM-JtWBLa3om3zGbEtSpzbd7Ljr3dM&returnMeta=true
λͺ½κ³ -
Last login: Wed Dec 14 17:07:36 on ttys001
manish-mbp-13:FreeCodeCamp manishgiri$ mongod
2016-12-14T17:08:04.726-0500 I CONTROL [initandlisten] MongoDB starting : pid=767 port=27017 dbpath=/data/db 64-bit host=manish-mbp-13.lang.uc.edu
2016-12-14T17:08:04.727-0500 I CONTROL [initandlisten] db version v3.4.0
2016-12-14T17:08:04.727-0500 I CONTROL [initandlisten] git version: f4240c60f005be757399042dc12f6addbc3170c1
2016-12-14T17:08:04.727-0500 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.2j 26 Sep 2016
2016-12-14T17:08:04.727-0500 I CONTROL [initandlisten] allocator: system
2016-12-14T17:08:04.727-0500 I CONTROL [initandlisten] modules: none
2016-12-14T17:08:04.727-0500 I CONTROL [initandlisten] build environment:
2016-12-14T17:08:04.727-0500 I CONTROL [initandlisten] distarch: x86_64
2016-12-14T17:08:04.727-0500 I CONTROL [initandlisten] target_arch: x86_64
2016-12-14T17:08:04.727-0500 I CONTROL [initandlisten] options: {}
2016-12-14T17:08:04.767-0500 I - [initandlisten] Detected data files in /data/db created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'.
2016-12-14T17:08:04.767-0500 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=3584M,session_max=20000,eviction=(threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),checkpoint=(wait=60,log_size=2GB),statistics_log=(wait=0),
2016-12-14T17:08:22.845-0500 I CONTROL [initandlisten]
2016-12-14T17:08:22.845-0500 I CONTROL [initandlisten] ** WARNING: Access control is not enabled for the database.
2016-12-14T17:08:22.845-0500 I CONTROL [initandlisten] ** Read and write access to data and configuration is unrestricted.
2016-12-14T17:08:22.845-0500 I CONTROL [initandlisten]
2016-12-14T17:08:22.845-0500 I CONTROL [initandlisten]
2016-12-14T17:08:22.845-0500 I CONTROL [initandlisten] ** WARNING: soft rlimits too low. Number of files is 256, should be at least 1000
2016-12-14T17:08:23.976-0500 I FTDC [initandlisten] Initializing full-time diagnostic data capture with directory '/data/db/diagnostic.data'
2016-12-14T17:08:23.977-0500 I NETWORK [thread1] waiting for connections on port 27017
2016-12-14T17:08:57.315-0500 I NETWORK [thread1] connection accepted from 127.0.0.1:49238 #1 (1 connection now open)
2016-12-14T17:08:57.315-0500 I NETWORK [conn1] received client metadata from 127.0.0.1:49238 conn1: { application: { name: "MongoDB Shell" }, driver: { name: "MongoDB Internal Client", version: "3.4.0" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "16.1.0" } }
2016-12-14T17:10:55.767-0500 I NETWORK [thread1] connection accepted from 127.0.0.1:49239 #2 (2 connections now open)
2016-12-14T17:10:55.767-0500 I NETWORK [thread1] connection accepted from 127.0.0.1:49240 #3 (3 connections now open)
2016-12-14T17:10:55.789-0500 I NETWORK [conn3] received client metadata from 127.0.0.1:49240 conn3: { driver: { name: "nodejs", version: "2.2.16" }, os: { type: "Darwin", name: "darwin", architecture: "x64", version: "16.1.0" }, platform: "Node.js v6.9.2, LE, mongodb-core: 2.1.2" }
2016-12-14T17:10:55.806-0500 I NETWORK [thread1] connection accepted from 127.0.0.1:49241 #4 (4 connections now open)
2016-12-14T17:10:55.863-0500 I NETWORK [thread1] connection accepted from 127.0.0.1:49242 #5 (5 connections now open)
2016-12-14T17:10:55.871-0500 I NETWORK [thread1] connection accepted from 127.0.0.1:49243 #6 (6 connections now open)
2016-12-14T17:10:55.872-0500 I NETWORK [thread1] connection accepted from 127.0.0.1:49244 #7 (7 connections now open)
2016-12-14T17:10:55.873-0500 I NETWORK [thread1] connection accepted from 127.0.0.1:49245 #8 (8 connections now open)
2016-12-14T17:10:55.876-0500 I - [conn2] end connection 127.0.0.1:49239 (8 connections now open)
2016-12-14T17:10:56.220-0500 I - [conn8] end connection 127.0.0.1:49245 (7 connections now open)
2016-12-14T17:10:56.220-0500 I - [conn7] end connection 127.0.0.1:49244 (7 connections now open)
2016-12-14T17:10:56.220-0500 I - [conn6] end connection 127.0.0.1:49243 (7 connections now open)
2016-12-14T17:10:56.220-0500 I - [conn5] end connection 127.0.0.1:49242 (7 connections now open)
2016-12-14T17:10:56.220-0500 I - [conn4] end connection 127.0.0.1:49241 (6 connections now open)
2016-12-14T17:10:56.220-0500 I - [conn3] end connection 127.0.0.1:49240 (6 connections now open)
2016-12-14T17:12:16.269-0500 I NETWORK [thread1] connection accepted from 127.0.0.1:49254 #9 (2 connections now open)
2016-12-14T17:12:16.269-0500 I NETWORK [thread1] connection accepted from 127.0.0.1:49255 #10 (3 connections now open)
2016-12-14T17:12:16.282-0500 I NETWORK [conn10] received client metadata from 127.0.0.1:49255 conn10: { driver: { name: "nodejs", version: "2.2.16" }, os: { type: "Darwin", name: "darwin", architecture: "x64", version: "16.1.0" }, platform: "Node.js v6.9.2, LE, mongodb-core: 2.1.2" }
2016-12-14T17:12:16.292-0500 I - [conn9] end connection 127.0.0.1:49254 (3 connections now open)
2016-12-14T17:12:16.299-0500 I NETWORK [thread1] connection accepted from 127.0.0.1:49256 #11 (3 connections now open)
2016-12-14T17:12:16.357-0500 I NETWORK [thread1] connection accepted from 127.0.0.1:49257 #12 (4 connections now open)
2016-12-14T17:12:16.364-0500 I NETWORK [thread1] connection accepted from 127.0.0.1:49258 #13 (5 connections now open)
2016-12-14T17:13:05.986-0500 I COMMAND [conn10] command freecodecamp.sessions command: find { find: "sessions", filter: { _id: "GpfExTJVaoOT11M6LO6E0AEJgxAwI0rW", $or: [ { expires: { $exists: false } }, { expires: { $gt: new Date(1481753585251) } } ] }, limit: 1, batchSize: 1, singleBatch: true } planSummary: IXSCAN { _id: 1 } keysExamined:1 docsExamined:1 cursorExhausted:1 numYields:0 nreturned:1 reslen:338 locks:{ Global: { acquireCount: { r: 2 } }, Database: { acquireCount: { r: 1 } }, Collection: { acquireCount: { r: 1 } } } protocol:op_query 670ms
2016-12-14T17:13:06.981-0500 I WRITE [conn10] update freecodecamp.sessions query: { _id: "GpfExTJVaoOT11M6LO6E0AEJgxAwI0rW" } planSummary: IDHACK update: { _id: "GpfExTJVaoOT11M6LO6E0AEJgxAwI0rW", session: "{"cookie":{"originalMaxAge":77759999996,"expires":"2019-06-02T22:13:06.104Z","httpOnly":true,"path":"/"},"passport":{},"flash":{},"returnTo":"/map"}", expires: new Date(1559513586104) } keysExamined:1 docsExamined:1 nMatched:1 nModified:1 keysInserted:1 keysDeleted:1 numYields:1 locks:{ Global: { acquireCount: { r: 2, w: 2 } }, Database: { acquireCount: { w: 2 } }, Collection: { acquireCount: { w: 2 } } } 795ms
2016-12-14T17:13:06.981-0500 I COMMAND [conn10] command freecodecamp.$cmd command: update { update: "sessions", updates: [ { q: { _id: "GpfExTJVaoOT11M6LO6E0AEJgxAwI0rW" }, u: { _id: "GpfExTJVaoOT11M6LO6E0AEJgxAwI0rW", session: "{"cookie":{"originalMaxAge":77759999996,"expires":"2019-06-02T22:13:06.104Z","httpOnly":true,"path":"/"},"passport":{},"flash":{},"returnTo":"/map"}", expires: new Date(1559513586104) }, upsert: true, multi: false } ], ordered: true } numYields:0 reslen:59 locks:{ Global: { acquireCount: { r: 2, w: 2 } }, Database: { acquireCount: { w: 2 } }, Collection: { acquireCount: { w: 2 } } } protocol:op_query 859ms
2016-12-14T17:14:16.366-0500 I - [conn13] end connection 127.0.0.1:49258 (5 connections now open)
2016-12-14T17:14:16.368-0500 I - [conn11] end connection 127.0.0.1:49256 (4 connections now open)
^C2016-12-14T17:14:26.487-0500 I CONTROL [signalProcessingThread] got signal 2 (Interrupt: 2), will terminate after current cmd ends
2016-12-14T17:14:26.487-0500 I NETWORK [signalProcessingThread] shutdown: going to close listening sockets...
2016-12-14T17:14:26.487-0500 I NETWORK [signalProcessingThread] closing listening socket: 6
2016-12-14T17:14:26.487-0500 I NETWORK [signalProcessingThread] closing listening socket: 7
2016-12-14T17:14:26.488-0500 I NETWORK [signalProcessingThread] removing socket file: /tmp/mongodb-27017.sock
2016-12-14T17:14:26.488-0500 I NETWORK [signalProcessingThread] shutdown: going to flush diaglog...
2016-12-14T17:14:26.501-0500 I FTDC [signalProcessingThread] Shutting down full-time diagnostic data capture
2016-12-14T17:14:26.549-0500 I STORAGE [signalProcessingThread] WiredTigerKVEngine shutting down
2016-12-14T17:14:28.948-0500 I STORAGE [signalProcessingThread] shutdown: removing fs lock...
2016-12-14T17:14:28.953-0500 I CONTROL [signalProcessingThread] now exiting
2016-12-14T17:14:28.953-0500 I CONTROL [signalProcessingThread] shutting down with code:0
μ΄κ²μ΄ "μ§λ"νλ©΄μ λλ€.
@ Manish-Giri Berkeleyκ° μ°Ύκ³ μλ κ²μμ΄ μ£Όμ μ 첫 λ²μ§Έ μ€ν¬λ¦° μ·μμμ κ°μ΄ λΈλΌμ°μ ( /services/map;lang=en?_csrf=[TOKEN]&returnMeta=true
)μμ 500 μ€λ₯λ₯Ό λ°ννλ κ²½λ‘λ₯Ό νμνλ©΄ λ°νλλ μ€λ₯λΌκ³ μκ°ν©λλ€.
μ΄ λ¬Έμ λ μ¬ν ν μ μμ΅λλ€.
@systimotic μ’μμ, μλ € μ£Όμ μ κ°μ¬ν©λλ€! μ‘°μ¬νκ³ λ³΄κ³ νκ² μ΅λλ€.
λλ λνμ΄ λ¬Έμ κ° μμ΅λλ€. /services/map;lang=en?_csrf=[TOKEN]&returnMeta=true
νλ©΄ λΈλΌμ°μ κ° λ€μμ λ°νν©λλ€.
{"output":{"message":"Cannot read property 'order' of undefined"},"meta":{}}
https://github.com/FreeCodeCamp/FreeCodeCamp/blob/staging/server/utils/map.js#L91 μ λ€μμΌλ‘ λ³κ²½νμ¬μ΄ λ¬Έμ λ₯Ό ν΄κ²°ν©λλ€.
const result = map.result.reduce((result, supName) => {
κ·Έλ¬λ©΄ μμ 맡과 # 12006μ μ§μ λ κ²½κ³ κ° λ°μν©λλ€.
{ "output": { "message": "μ μλμ§ μμ 'order'μμ±μ μ½μ μ μμ΅λλ€."}, "meta": {}}
λ°μ΄ν°λ² μ΄μ€κ° μ¬λ°λ₯΄κ² μλλμ§ μμ κ² κ°μ΅λλ€.
@systimotic λλ λΉμ μ μ§μμ λ°λΌ λΈλΌμ°μ μμ ν΄λΉ URLμ λ°©λ¬Ένμ΅λλ€.
{"output":{"message":"Cannot convert undefined or null to object"},"meta":{}}
μ
λ°μ΄νΈ : FCC μ μ₯μλ₯Ό λ€λ₯Έ μ»΄ν¨ν° (Ubuntu 16.04, 64 λΉνΈ)μ 볡μ νκ³ MongoDBλ₯Ό μ€μΉνκ³ npm run only-once
λ° gulp
κΉμ§ νμν λͺ¨λ λ¨κ³λ₯Ό κ±°μ³€μ΅λλ€. κ·Έλ¬λ λ€λ₯Έ μ»΄ν¨ν°μμμ λμΌν Map μ€λ₯κ° λ°μνμ΅λλ€. λΈλΌμ°μ μμ μμ± λ μ€λ₯ λ©μμ§ λ§ λ€λ¦
λλ€-
{"output":{"message":"Cannot read property 'order' of undefined"},"meta":{}}
μ΄κ²μ @augmtκ° μ€λ μ΄μ μλ³΄κ³ ν κ²κ³Ό λμΌν©λλ€. μ΄κ²μ΄ μ’
μ λ¬Έμ μΈμ§ μ§κΈμ μ λͺ¨λ₯΄κ² μ΅λλ€.
λͺ½κ³ λ₯Ό μλ‘ μ€μΉ ν μ μ»΄ν¨ν°μμλ λ¨κ³λ₯Ό λ°λκΈ° λλ¬Έμ
λλ€.
λν map.js
91 νμ λ³κ²½ν΄λ μ κ²½μ°μλ μ무 μΌλνμ§ μμμ΅λλ€.
@BerkeleyTrue @ Manish-Giri λλ normalizr
λ₯Ό 2.3.0μμ 2.2.1λ‘ λ€μ΄ κ·Έλ μ΄λνμ¬ λ¬Έμ λ₯Ό ν΄κ²°νμ΅λλ€.
λ°μ΄ν°λ² μ΄μ€μ 무결μ±μ νμΈνκΈ° μν΄ ν μμλ μΌμ΄ μμΌλ©΄ μλ €μ£Όμμμ€.
@augmt κ·Έκ²μ λν κ°λ₯ν μμΈμ΄ λ μ μμ΅λλ€
λ²κ·Έλ OPμ κ΄λ ¨μ΄ μκΈ° λλ¬Έμ. # 12103μ μ°¬μ±νμ¬ λ§κ°
map.js
91 λ²μ§Έ μ€μ μ±μΈ λ λ΄ λ¬Έμ λ₯Ό ν΄κ²°ν©λλ€ ...
manifiest-rev.jsonμ λͺ©μ μ 무μμ λκΉ?
@fizzvr # 12103μμ κ³μνμΈμ