Olá, estou com as versões:
- 12.0.1 do Java
- 8.0.16 do mysql
Sei que é essa a versão do mysql porque na hora em que finalizei a instalação eu copiei, mas agora ao rodar o comando mysql -u root recebo a mensagem:
C:\Users\Afranio>mysql -u root;
ERROR 1045 (28000): Access denied for user 'root;'@'localhost' (using password: NO)
Também já rodei o java -jar cdcreact-1.0.0-SNAPSHOT.jar
Mas o link http://localhost:8080/api/autores não está funcionando.
Ao rodar npm start recebo isso:
$ npm start
> cdc-admin@0.1.0 start C:\curso-react\cdc-admin
> react-scripts start
Starting the development server...
events.js:173
throw er; // Unhandled 'error' event
^
Error: spawn cmd ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:249:19)
at onErrorNT (internal/child_process.js:442:16)
at processTicksAndRejections (internal/process/task_queues.js:84:9)
Emitted 'error' event at:
at Process.ChildProcess._handle.onexit (internal/child_process.js:255:12)
at onErrorNT (internal/child_process.js:442:16)
at processTicksAndRejections (internal/process/task_queues.js:84:9)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! cdc-admin@0.1.0 start: `react-scripts start`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the cdc-admin@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\Afranio\AppData\Roaming\npm-cache\_logs\2019-05-15T02_37_38_080Z-debug.log
Será que estou esquecendo de algo?