D:\javaEE\idearwork\js\leyou-portal>live-server --port=9002
Serving "D:\javaEE\idearwork\js\leyou-portal" at http://127.0.0.1:9002
events.js:167
throw er; // Unhandled 'error' event
^
Error: spawn cmd ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:232:19)
at onErrorNT (internal/child_process.js:407:16)
at process._tickCallback (internal/process/next_tick.js:63:19)
at Function.Module.runMain (internal/modules/cjs/loader.js:745:11)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)
Emitted 'error' event at:
at Process.ChildProcess._handle.onexit (internal/child_process.js:238:12)
at onErrorNT (internal/child_process.js:407:16)
[... lines matching original stack trace ...]
at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)
以上前端项目 拿到运行不起来 怎么调都不行 看百度说添加环境变量 也试了 没有成功 有大佬见过类似的吗
我也是这个问题,百度半天了,请问怎么解决的