2017-09-17 2 views
0

방금 ​​linux ubuntu에서 windows으로 이동했으며 여기서 첫 번째 오류가 있습니다. 내가 애플 리케이션을 다시 시작하려고하면 나는이 errors.And 때마다 나는 전체 컴퓨터를 다시 시작하기 위해 전체 컴퓨터를 다시 시작해야합니다. 전체 컴퓨터를 다시 시작한 후 npm start 잘 작동합니다. 나는 update을 시도했지만 결과는 npm입니다. 아무도 도와 줄 수 있습니까?npm 시작이 작동하지 않습니다.

npm ERR! Windows_NT 10.0.15063 
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "start" 
npm ERR! node v6.11.3 
npm ERR! npm v3.10.10 
npm ERR! code ELIFECYCLE 
npm ERR! [email protected] start: `node ./bin/www` 
npm ERR! Exit status 1 
npm ERR! 
npm ERR! Failed at the [email protected] start script 'node ./bin/www'. 
npm ERR! Make sure you have the latest version of node.js and npm installed. 
npm ERR! If you do, this is most likely a problem with the exproject package, 
npm ERR! not with npm itself. 
npm ERR! Tell the author that this fails on your system: 
npm ERR! node ./bin/www 
npm ERR! You can get information on how to open an issue for this project with: 
npm ERR! npm bugs exproject 
npm ERR! Or if that isn't available, you can get their info via: 
npm ERR! npm owner ls exproject 
npm ERR! There is likely additional logging output above. 
npm ERR! Please include the following file with any support request: 
npm ERR! C:\Users\sashi\Desktop\nprojects\basicexpress\exproject\npm-debug.log 

답변

0

npm install을 실행 했습니까? package.json이 있습니까?

+0

예. 이 { "이름"입니다 : "exproject" "버전": "1.0.0", "개인": 사실, "스크립트": { 는 "시작" "노드 ./bin/www " }, ""body-parser": "~ 1.17.1", "쿠키 파서": "~ 1.4.3", "디버그": "~ 2.6.3" "express": "~ 4.15.2", "jade": "~ 1.11.0", "morgan": "~ 1.8.1", "serve-favicon": "~ 2.4.2" "nodemailer": "*" –

+1

./bin/www를 실행하려고하면 어떻게됩니까? – user835611

+0

그것은 그것이 작동하고있는 것을 보여 주지만, 이제는 변경 사항이 보입니다. 그들은 전체 컴퓨터를 다시 시작하고 npm start를 실행 한 후에 만 ​​보입니다. –

관련 문제