【发布时间】:2021-06-29 17:46:14
【问题描述】:
我正在使用 node & express 建立一个项目。我正在运行相同的错误消息。 我已经阅读了多篇建议清除缓存并创建新的 .json 文件的帮助文章。我还编辑了 package.json 文件中的脚本,但未能清除错误。
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! package@1.0.0 start: `node ./bin/www`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the package@1.0.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
【问题讨论】:
-
请分享你的包json,错误似乎与npm无关
-
发布了一个解决方案,它有效吗?