почему мое приложение реакции выдает эту ошибку, несмотря на переустановку node.js? - PullRequest
0 голосов
/ 03 мая 2020
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: [ '/s', '/c', 'start', '""', '/b', '"http://localhost:3000"' ]
}
npm ERR! code ELIFECYCLE

npm ERR! errno 1
npm ERR! client@0.1.0 start: `react-scripts start`

npm ERR! Exit status 1

npm ERR!

npm ERR! Failed at the client@0.1.0 start 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\JShaikh\AppData\Roaming\npm-cache\_logs\2020-05-03T18_38_36_629Z-debug.log  



PS C:\wamp64\www\quiz\client> 

Это ошибка, выдаваемая при запуске "npm start" ... я удалил n node.js и снова переустановил его .. Я также установил переменную среды "C: \ Windows \ System32 ", но она все еще не работает .. фу, я новичок ie, чтобы реагировать.

...