2013-10-14 84 views
4

我有最後一個版本,這個版本不工作的隕石流星更新。流星隕石NPM版鎖定

這裏我「命令捷運」日誌

=> Errors prevented startup: 

While building the application: 
node_modules/meteorite/node_modules/ddp/node_modules/ws/examples/fileapi/public/index.html:1: Can't set DOCTYPE here. (Meteor sets <!DOCTYPE html> for you) 
node_modules/meteorite/node_modules/ddp/node_modules/ws/examples/serverstats-express_3/public/index.html:1: Can't set DOCTYPE here. (Meteor sets <!DOCTYPE html> for you) 
node_modules/meteorite/node_modules/ddp/node_modules/ws/examples/serverstats/public/index.html:1: Can't set DOCTYPE here. (Meteor sets <!DOCTYPE html> for you) 
node_modules/meteorite/node_modules/prompt/node_modules/winston/node_modules/pkginfo/docs/pkginfo.html:1: Can't set DOCTYPE here. (Meteor sets <!DOCTYPE html> for you) 
node_modules/meteorite/node_modules/ddp/node_modules/meteor-ejson/node_modules/underscore/index.html:1: Can't set DOCTYPE here. (Meteor sets <!DOCTYPE html> for you) 
node_modules/meteorite/node_modules/prompt/node_modules/pkginfo/docs/pkginfo.html:1: Can't set DOCTYPE here. (Meteor sets <!DOCTYPE html> for you) 
node_modules/meteorite/node_modules/prompt/docs/prompt.html:1: Can't set DOCTYPE here. (Meteor sets <!DOCTYPE html> for you) 
node_modules/meteorite/node_modules/colors/example.html:1: Can't set DOCTYPE here. (Meteor sets <!DOCTYPE html> for you) 
node_modules/meteorite/node_modules/optimist/test/_/argv.js:1:15: Unexpected token ILLEGAL 
node_modules/meteorite/node_modules/optimist/test/_/bin.js:1:15: Unexpected token ILLEGAL 
node_modules/meteorite/node_modules/optimist/example/bool.js:1:15: Unexpected token ILLEGAL 
node_modules/meteorite/node_modules/optimist/example/boolean_double.js:1:15: Unexpected token ILLEGAL 
node_modules/meteorite/node_modules/optimist/example/boolean_single.js:1:15: Unexpected token ILLEGAL 
node_modules/meteorite/node_modules/optimist/example/default_hash.js:1:15: Unexpected token ILLEGAL 
node_modules/meteorite/node_modules/optimist/example/default_singles.js:1:15: Unexpected token ILLEGAL 
node_modules/meteorite/node_modules/optimist/example/divide.js:1:15: Unexpected token ILLEGAL 
node_modules/meteorite/node_modules/optimist/example/line_count.js:1:15: Unexpected token ILLEGAL 
node_modules/meteorite/node_modules/optimist/example/line_count_options.js:1:15: Unexpected token ILLEGAL 
node_modules/meteorite/node_modules/optimist/example/line_count_wrap.js:1:15: Unexpected token ILLEGAL 
node_modules/meteorite/node_modules/optimist/example/nonopt.js:1:15: Unexpected token ILLEGAL 
node_modules/meteorite/node_modules/optimist/example/reflect.js:1:15: Unexpected token ILLEGAL 
node_modules/meteorite/node_modules/optimist/example/short.js:1:15: Unexpected token ILLEGAL 
node_modules/meteorite/node_modules/optimist/example/string.js:1:15: Unexpected token ILLEGAL 
node_modules/meteorite/node_modules/optimist/example/xup.js:1:15: Unexpected token ILLEGAL 
node_modules/meteorite/bin/mrt.js:1:15: Unexpected token ILLEGAL 
node_modules/rimraf/bin.js:1:15: Unexpected token ILLEGAL 

=> Your application has errors. Waiting for file change. 

我不知道哪兒來的錯誤。

任何想法?

謝謝!

回答

10

問題解決了,只是刪除了目錄節點模塊,並將其固定的一切。 室射頻node_modules

+2

哪裏node_modules目錄位於何處? – shinank

+1

根據你的編輯歷史記錄,你有這樣的錯誤:'npm ERR!丟失:[email protected],要求[email protected] NPM ERR!缺少:[email protected],[email protected]要求 npm ERR!不好的代碼0' 我有這個錯誤,你做了什麼來解決這個問題? – zVictor

0

你更新節點也

你可能有你的根級別

使用sudo npm update

然後更新您的安裝節點重新運行sudo mrt,看看這個修復問題

2

根據文檔,你不應該運行地鐵的須藤。