简体   繁体   English

npm start不起作用

[英]npm start doesn't work

I have just moved from linux ubuntu to windows and here first errors. 我刚从linux ubuntu移到windows ,这里是第一个错误。 When i try to restart the app i receive this errors.And every time i have to restart the whole computer in order to see the changes.After restarting the whole computer npm start works fine. 当我尝试重新启动应用程序时,我收到此错误。并且每次必须重新启动整个计算机才能看到更改。重新启动整个计算机后, npm start可以正常工作。 i tried to update the npm but no result. 我试图update npm但没有结果。 Could anyone help? 有人可以帮忙吗?

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! exproject@1.0.0 start: `node ./bin/www`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the exproject@1.0.0 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

Did you run npm install ? 您是否运行过npm install Do you have a package.json ? 你有package.json吗?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM