2017-09-17 9 views
0

私はちょうどlinux ubuntuからwindowsに移動しました。ここでは最初のエラーです。私は、アプリケーションを再起動しようとすると、私はこのエラーを受け取ります。そして、私はコンピュータ全体を再起動する必要があるたびに、変更を確認するために。npm startは正常に動作します。 私はupdateを試しましたが、npmの結果はありませんでした。 助けてもらえますか?npm startが機能しない

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 "、 " cookie-parser ":"〜1.4.3 "、 " debug ":"〜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 –

関連する問題