2013-10-14 2 views
4

У меня есть обновленная версия Meteor на последней версии, и эта версия не работает с Meteorite.Meteor Meteorite npm версия lock

Вот мои «Суд MRT» журналы

=> 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

Проблема решена, просто удалены модули узла каталога, и все исправлено. гт -rf node_modules

+2

Где находится каталог node_modules? – shinank

+1

Согласно вашей истории изменений, у вас была ошибка: 'npm ERR! отсутствует: [email protected], требуемый [email protected] npm ERR! отсутствует: mkdi[email protected], требуется по [email protected] npm ERR! не в порядке 0' У меня возникла эта ошибка, что вы сделали, чтобы исправить это? – zVictor

0

ли обновление вы узел также

Вы, возможно, придется обновить установку узла на вашем уровне корневой

использования sudo npm update

затем повторно запустить sudo mrt и посмотреть, исправит ли это вопрос

2

Согласно документации, вы не должны запускать mrt как sudo.

Смежные вопросы