呃!在运行node.js应用程序时

时间:2018-02-13 14:59:09

标签: node.js

每当我尝试运行node.js应用程序时,我会在应用程序成功运行时收到错误消息。只是好奇这些错误究竟意味着什么。

以下是运行简单node.js应用程序时控制台的输出:

npm ERR! node v6.11.2
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! app-service-hello-world@0.0.1 start: `node index.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the app-service-hello-world@0.0.1 start script 'node index.js'.
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 app-service-hello-world package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node index.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs app-service-hello-world
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls app-service-hello-world
npm ERR! There is likely additional logging output above.

0 个答案:

没有答案