webpack-dev-server --inline --progress --config build/webpack.dev.conf.js
webpack-dev-server --inline --progress --config build/webpack.dev.conf.js
‘webpack-dev-server’ �����ڲ����ⲿ���Ҳ���ǿ����еij���
���������ļ���
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! hrvue@1.0.0 dev: webpack-dev-server --inline --progress --config build/webpack.dev.conf.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the hrvue@1.0.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! D:\nodejs\node_cache\_logs\2020-09-22T02_31_57_514Z-debug.log
Process finished with exit code 1
解决:原因是因为你的node_modules有意外改动,导致依赖库不完整。
删除项目下的node_modules,在你的项目目录下,重新执行npm install,这会重新生成node_modules,
执行npm run build ,
npm run dev.