2013-10-14 2 views
4

최신 버전에서는 Meteor를 업데이트했으며이 버전은 Meteorite에서 작동하지 않습니다. 오류에서 온 여기Meteor Meteorite npm 버전 잠금

내 "sudo는 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 RM은 node_modules

+2

node_modules 디렉토리는 어디에 있습니까? – shinank

+1

편집 내역에 따르면 다음과 같은 오류가있었습니다 :'npm ERR! 누락 된 부분 : [email protected], [email protected] 필요함 npm ERR! 누락 된 : [email protected], [email protected]에 의해 요구됨 npm ERR! not ok code 0' 이 오류가 발생했습니다. 문제를 해결하기 위해 무엇을 했습니까? – zVictor

0

당신은 노드를 업데이트 한 이유도 당신은 당신의 루트 레벨

사용 후 sudo npm update

에서 노드의 설치를 업데이트해야 할 수도 있습니다

이 수정 경우 sudo mrt를 다시 실행 볼

문제

2

설명서에 따르면 mrt를 sudo로 실행하면 안됩니다.

관련 문제