我有一个关于npm的问题。每当我启动npm
时,它都会出现以下错误:
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! pomodorclock@1.0.0 start: `node index.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the pomodorclock@1.0.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
答案 0 :(得分:0)
首先需要运行npm install
才能构建程序包。您可以使用npm start
。