Closed JPingZheng closed 3 years ago
C:\Users\86130\AppData\Roaming\nvm\v12.16.2\node_modules\dva-cli\bin\dva-new events.js:287 throw er; // Unhandled 'error' event ^
Error: spawn cmd ENOENT at Process.ChildProcess._handle.onexit (internal/child_process.js:267:19) at onErrorNT (internal/child_process.js:469:16) at processTicksAndRejections (internal/process/task_queues.js:84:21) Emitted 'error' event on ChildProcess instance at: at Process.ChildProcess._handle.onexit (internal/child_process.js:273:12) at onErrorNT (internal/child_process.js:469:16) at processTicksAndRejections (internal/process/task_queues.js:84:21) { errno: 'ENOENT', code: 'ENOENT', syscall: 'spawn cmd', path: 'cmd', spawnargs: [ '/d', '/c', 'node', 'C:\Users\86130\AppData\Roaming\nvm\v12.16.2\node_modules\dva-cli\bin\dva-new', 'client' ] }
node 版本v12.16.2 dva-cli version 0.10.1
C:\Users\86130\AppData\Roaming\nvm\v12.16.2\node_modules\dva-cli\bin\dva-new events.js:287 throw er; // Unhandled 'error' event ^
Error: spawn cmd ENOENT at Process.ChildProcess._handle.onexit (internal/child_process.js:267:19) at onErrorNT (internal/child_process.js:469:16) at processTicksAndRejections (internal/process/task_queues.js:84:21) Emitted 'error' event on ChildProcess instance at: at Process.ChildProcess._handle.onexit (internal/child_process.js:273:12) at onErrorNT (internal/child_process.js:469:16) at processTicksAndRejections (internal/process/task_queues.js:84:21) { errno: 'ENOENT', code: 'ENOENT', syscall: 'spawn cmd', path: 'cmd', spawnargs: [ '/d', '/c', 'node', 'C:\Users\86130\AppData\Roaming\nvm\v12.16.2\node_modules\dva-cli\bin\dva-new', 'client' ] }
node 版本v12.16.2 dva-cli version 0.10.1