建設關:Ember-cli - Bower not installing properly灰燼錯誤:路徑「供應商/ loader.js/loader.js」未找到任何文件
我剛從燼-CLI 0.0.40到0.1.2,當我運行升級燼服務器我也有一個問題的時刻。的Bad option: 'moment'.
48個JSHint錯誤後JSHint做是讓我有它,我做了loader.js壞路徑錯誤:
Path or pattern "vendor/loader.js/loader.js" did not match any files
Error: Path or pattern "vendor/loader.js/loader.js" did not match any files
at Object.multiGlob (/home/mikeumus/Downloads/RentalGeek/Development/portola-workon29oct/node_modules/ember-cli/node_modules/broccoli-concat/node_modules/broccoli-kitchen-sink-helpers/index.js:221:13)
at /home/mikeumus/Downloads/RentalGeek/Development/portola-workon29oct/node_modules/ember-cli/node_modules/broccoli-concat/index.js:62:32
at $$$internal$$tryCatch (/home/mikeumus/Downloads/RentalGeek/Development/portola-workon29oct/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:470:16)
at $$$internal$$invokeCallback (/home/mikeumus/Downloads/RentalGeek/Development/portola-workon29oct/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:482:17)
at $$$internal$$publish (/home/mikeumus/Downloads/RentalGeek/Development/portola-workon29oct/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:453:11)
at $$rsvp$asap$$flush (/home/mikeumus/Downloads/RentalGeek/Development/portola-workon29oct/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:1531:9)
at process._tickCallback (node.js:419:13)
升級到[email protected]我得到了一個前包括ember-cli-simple-auth的錯誤。我做了ember g ember-cli-simple-auth
,這很漂亮,但上述錯誤仍然存在。
我昨天從0.0.40升級到了0.1.2,並且遇到了類似的問題,我將在調試時更新你,在旁註中可以'ember -v'並在此處添加輸出。 – 2014-10-30 12:07:40
如果你從0.0.40直接到0.1.2,你可能會指向loader 1.0.1或更早的版本..我想[loader](https://github.com/stefanpenner/loader.js/tree/master)現在是2.0.0 – MilkyWayJoe 2014-10-30 13:20:56
您是否確保按照發行說明中的所有步驟清除npm/bower文件夾並清除兩者的緩存? – Dhaulagiri 2014-10-30 15:50:44