prezados, o comando "npm start" retornou a seguinte erro:
events.js:292 throw er; // Unhandled 'error' event ^
Error: spawn cmd ENOENT
at Process.ChildProcess.handle.onexit (internal/childprocess.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/childprocess.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! ceep@0.1.0 start: react-scripts start
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ceep@0.1.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
LOG COMPLETO:
0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli 'C:\Program Files\nodejs\node.exe',
1 verbose cli 'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'start'
1 verbose cli ]
2 info using npm@6.14.6
3 info using node@v12.18.3
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle ceep@0.1.0prestart: ceep@0.1.0
6 info lifecycle ceep@0.1.0start: ceep@0.1.0
7 verbose lifecycle ceep@0.1.0start: unsafe-perm in lifecycle true
8 verbose lifecycle ceep@0.1.0start: PATH: C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\Users\Allison\Documents\Alura2020\06ReactEntendendo\projeto\ceep\node_modules.bin;C:\Arquivos de Programas\Java\jdk1.8.0_251\bin;C:\Program Files\Git\cmd;C:\Program Files\nodejs;;C:\Users\Allison\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\Allison\Documents\Alura 2020\Curso - Maven\apache-maven-3.6.3\bin;C:\Users\Allison\AppData\Roaming\npm
9 verbose lifecycle ceep@0.1.0start: CWD: C:\Users\Allison\Documents\Alura2020\06ReactEntendendo\projeto\ceep
10 silly lifecycle ceep@0.1.0start: Args: [ '/d /s /c', 'react-scripts start' ]
11 silly lifecycle ceep@0.1.0start: Returned: code: 1 signal: null
12 info lifecycle ceep@0.1.0start: Failed to exec start script
13 verbose stack Error: ceep@0.1.0 start: react-scripts start
13 verbose stack Exit status 1
13 verbose stack at EventEmitter. (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:332:16)
13 verbose stack at EventEmitter.emit (events.js:315:20)
13 verbose stack at ChildProcess. (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:315:20)
13 verbose stack at maybeClose (internal/child_process.js:1021:16)
13 verbose stack at Process.ChildProcess.handle.onexit (internal/childprocess.js:286:5)
14 verbose pkgid ceep@0.1.0
15 verbose cwd C:\Users\Allison\Documents\Alura2020\06ReactEntendendo\projeto\ceep
16 verbose Windows_NT 6.1.7601
17 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "start"
18 verbose node v12.18.3
19 verbose npm v6.14.6
20 error code ELIFECYCLE
21 error errno 1
22 error ceep@0.1.0 start: react-scripts start
22 error Exit status 1
23 error Failed at the ceep@0.1.0 start script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]