2015-01-09 8 views
0

에 유성을 업데이트 한 후 나는 오류가 점점 오전 :얻기 "오류 : 모듈 'esprima'를 찾을 수 없습니다"버전 1.0.2.1로 유성을 업데이트 한 후 1.0.2.1

Error: Cannot find module 'esprima' 
W20150109-09:58:02.883(-6)? (STDERR)  at Function.Module._resolveFilename (module.js:338:15) 
W20150109-09:58:02.883(-6)? (STDERR)  at Function.Module._load (module.js:280:25) 
W20150109-09:58:02.883(-6)? (STDERR)  at Module.require (module.js:364:17) 
W20150109-09:58:02.883(-6)? (STDERR)  at require (module.js:380:17) 
W20150109-09:58:02.884(-6)? (STDERR)  at Object.Npm.require (/Users/sgidev-005/dev/newProject/.meteor/local/build/programs/server/boot.js:99:18) 
W20150109-09:58:02.884(-6)? (STDERR)  at cmd (packages/mrt:server-eval/helpers.js:116:1) 
W20150109-09:58:02.884(-6)? (STDERR)  at /Users/sgidev-005/dev/newProject/.meteor/local/build/programs/server/packages/mrt_server-eval.js:850:4 
W20150109-09:58:02.884(-6)? (STDERR)  at /Users/sgidev-005/dev/newProject/.meteor/local/build/programs/server/packages/mrt_server-eval.js:906:3 
W20150109-09:58:02.885(-6)? (STDERR)  at /Users/sgidev-005/dev/newProject/.meteor/local/build/programs/server/boot.js:175:10 
W20150109-09:58:02.885(-6)? (STDERR)  at Array.forEach (native) 
이 노드 모듈 오류처럼 보인다

을, 하지만 Meteor가 Node 번들 버전을 사용한다는 것을 알고 있으므로이 모듈이없는 이유를 이해할 수 없습니다.

내 패키지 중 하나가이 오류의 원인 일 수 있습니까?

aashu28:bootstrap-validator 0.0.1 bootstrapValidator to validate forms and use bootstrap 3 to show errors 
accounts-base    1.1.3 A user account system 
accounts-facebook   1.0.3 Login service for Facebook accounts 
accounts-google    1.0.3 Login service for Google accounts 
accounts-password   1.0.5 Password support for accounts 
alanning:roles    1.2.13 Role-based authorization 
chrismbeckett:fontawesome4 4.2.2 Scalable vector icons that can be customized with the power of CSS. 
email      1.0.5 Send email messages 
joshowens:accounts-entry  1.0.3 Make signin and signout their own pages with routes. 
jquery      1.0.2 Manipulate the DOM using CSS selectors 
less       1.0.12 The dynamic stylesheet language 
mrt:bootstrap-growl   0.1.3 Pretty simple jQuery plugin that turns standard Bootstrap alerts into Growl-like notifications. 
mrt:iron-router-progress  0.9.3 Progressbar for iron:router 
mrt:jquery-ui    1.9.2 jQuery-UI - jQuery user interface 
mrt:jquery-ui-bootstrap  1.8.16 jQuery-UI-Bootstrap - custom CSS jQuery UI theme for Twitter Bootstrap 
mrt:server-eval    0.6.3 allows client to run js in server context 
nemo64:bootstrap    3.3.1_1 Highly configurable bootstrap integration. 
noorderstorm:hammer   0.1.3 A javascript library for multi-touch gestures 
sacha:spin     2.0.4 Simple spinner package for Meteor 
sewdn:velocityjs    0.8.0 Velocity.js jQuery animation plugin 
spiderable     1.0.6 Makes the application crawlable to web spiders 
standard-app-packages  1.0.4 Moved to meteor-platform 
underscore     1.0.2 Collection of small helpers: _.map, _.each, ... 

답변

0

좀 더 문제 해결 후, 나는 내 대답을 발견했다!

mrt:server-eval 패키지는 어떻게 든 응용 프로그램 컴파일을 망치고있었습니다. 일단 제거되면 모든 것이 올바르게 작동하기 시작합니다.

0

당신은 유성의 나쁜 설치되어있는 것 같습니다가, esprima은 유성이 툴킷의 한 부분으로 프로젝트를 빌드하는 데 사용하는 JS 파서입니다 : 여기에 meteor list의 결과이다. 당신의 프로젝트는 괜찮아요. 무엇이든 놓치지 않을 것 같습니다.

당신은 유성를 다시 설치해야 할 수도 있습니다

sudo rm -rf ~/.meteor 
curl https://install.meteor.com | sh 
+0

제안 해 주셔서 감사합니다. 방금 시도했지만 정확히 동일한 오류가 표시됩니다. 'esprima' 모듈을 수동으로 설치해야 할 수도 있습니까? –

+0

@ConorStrejcek 전역 설치를 시도하십시오. 아마도'npm install -g esprima'를 도울 것입니다. Meteors는 node_modules 디렉토리에 이상하게 보입니다. esprima 모듈의 정확한 위치는 확실하지 않습니다. – Akshat

+0

방금 ​​시도했지만 여전히 같은 오류입니다. –