npm run dev报错

Posted zhaogaojian

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了npm run dev报错相关的知识,希望对你有一定的参考价值。

今天看到一个不错的开源项目DncZeus

按说明运行

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] dev: `vue-cli-service serve --open`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] dev 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?

 

解决办法:

npm install

速度太慢

cnpm install

以上是关于npm run dev报错的主要内容,如果未能解决你的问题,请参考以下文章

npm run dev遇到报错

npm run dev 报错:missing script:dev

npm run dev报错

npm dev run 报错

vue 运行npm run dev报错

npm run dev报错解决方法