在终端中运行ng server --open命令时,出现此错误“ events.js 174 throw er; //未处理的'错误'事件”
F:\ Nagarjun \ Angular \ todos-demo> ng s -o 10%的建筑3/3模块0个活动向导:项目正在http://localhost:4200/webpack-dev-server/运行 我「wds」:webpack输出从/提供 我「wds」:404将回退到//index.html
chunk {main} main.js, main.js.map (main) 45.4 kB [initial] [rendered]
chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 264 kB [initial] [rendered]
chunk {runtime} runtime.js, runtime.js.map (runtime) 6.15 kB [entry] [rendered]
chunk {styles} styles.js, styles.js.map (styles) 829 kB [initial] [rendered]
chunk {vendor} vendor.js, vendor.js.map (vendor) 4.18 MB [initial] [rendered]
Date: 2019-08-27T08:30:35.166Z - Hash: a1585b9cfd019ac5972e - Time: 16317ms
** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **
i 「wdm」: Compiled successfully.
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)
Emitted 'error' event at:
at Process.ChildProcess._handle.onexit (internal/child_process.js:246:12)
at onErrorNT (internal/child_process.js:415:16)
at process._tickCallback (internal/process/next_tick.js:63:19)