npm run dev 报错问题
E:\vue-houtai\web-flash\flash-vue-admin>npm run dev
> flash-vue-admin@4.1.0 dev E:\vue-houtai\web-flash\flash-vue-admin
> vue-cli-service serve
INFO Starting development server...
10% building 2/2 modules 0 activei 「wds」: Project is running at http://localhost:9528/
i 「wds」: webpack output is served from /
i 「wds」: Content not from webpack is served from E:\vue-houtai\web-flash\flash-vue-admin\public
i 「wds」: 404s will fallback to /index.html
events.js:174
throw er; // Unhandled 'error' event
^
Error: spawn cmd ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:240:19)
at onErrorNT (internal/child_process.js:415:16)
at process._tickCallback (internal/process/next_tick.js:63:19)
at Function.Module.runMain (internal/modules/cjs/loader.js:834:11)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
Emitted 'error' event at:
at Process.ChildProcess._handle.onexit (internal/child_process.js:246:12)
at onErrorNT (internal/child_process.js:415:16)
[... lines matching original stack trace ...]
at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! flash-vue-admin@4.1.0 dev: `vue-cli-service serve`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the flash-vue-admin@4.1.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\Administrator\AppData\Roaming\npm-cache\_logs\2019-11-05T12_04_13_784Z-debug.log