当我尝试使用伺服实验室启动来运行服务器时,出现以下错误。
我尝试了不同的解决方案,例如清理npm缓存和删除package-lock json文件,但错误仍然存在。
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! server@0.5.0 dev: `concurrently --kill-others "npm run editor-serve" "npm run server"
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the server@0.5.0 dev 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:
npm ERR! C:\Users\LENOVO\AppData\Roaming\npm-cache\_logs\2020-02-16T11_25_12_606Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! server@0.5.0 start: `npm run dev`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the server@0.5.0 start script.
npm ERR! This is probably not a problem with npm.
上面可能还会有其他日志记录输出。
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\LENOVO\AppData\Roaming\npm-cache\_logs\2020-02-16T11_25_13_043Z-debug.log