刚接触dva,大佬能帮忙看一下么,是在想不出解决的方法
optre opened this issue · comments
D: \websoft\mycode\dva -v
dva-cli: 0.7.10
D: \websoft\mycode >dva new demo
D:\websoft\nodejs\node_global\node_modules\dva-cli\bin\dva-new
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/ proces s/next tick.js
:63:19)
at Funct ion . Mo dule . runMain (
internal/modules/cjs/loader.js:744:11)
at startup ( internal/bootstrap/node.js:285:19)
at bootstrapNodeJSCore ( internal/ bootstrap/node.js:739 :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/boots trap/node.js:739:3)