node.js 版本:v12.18.4
npm版本:6.14.6
vue版本:@vue/cli 4.5.6
执行 npm run serve 命令输出如下:
> admin@0.1.0 serve E:\studyCode\20200917_springCloud\demo\admin
> vue-cli-service serve
'"node"' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
npm ERR! code ELIFECYCLE
npm ERR! errno 9009
npm ERR! admin@0.1.0 serve: `vue-cli-service serve`
npm ERR! Exit status 9009
npm ERR!
npm ERR! Failed at the admin@0.1.0 serve 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:\Program Files\nodejs\node_cache\_logs\2020-09-17T20_48_14_744Z-debug.log