Instalei e executei o backend sem problemas.
A instalação do front aparentemente foi OK:
npm install
up to date, audited 1447 packages in 8s
210 packages are looking for funding
run npm fund
for details
15 vulnerabilities (4 moderate, 10 high, 1 critical)
To address issues that do not require attention, run: npm audit fix
To address all issues (including breaking changes), run: npm audit fix --force
Run npm audit
for details.
Mas na hora de executar, ocorre um erro:
\curso-react-alurabooks>npm start
alurabooks@0.1.0 start react-scripts start
node:internal/modules/cjs/loader:446 throw err; ^
Error: Cannot find module 'C:\Users\gilberto.segundo\curso-react-alurabooks\node_modules\isexe\index.js'. Please verify that the package.json has a valid "main" entry at tryPackage (node:internal/modules/cjs/loader:438:19) at Module._findPath (node:internal/modules/cjs/loader:680:18) at Module._resolveFilename (node:internal/modules/cjs/loader:1063:27) at Module._load (node:internal/modules/cjs/loader:922:27) at Module.require (node:internal/modules/cjs/loader:1143:19) at require (node:internal/modules/cjs/helpers:121:18) at Object. (C:\Users\gilberto.segundo\curso-react-alurabooks\node_modules\which\which.js:7:15) at Module._compile (node:internal/modules/cjs/loader:1256:14) at Module._extensions..js (node:internal/modules/cjs/loader:1310:10) at Module.load (node:internal/modules/cjs/loader:1119:32) { code: 'MODULE_NOT_FOUND', path: 'C:\Users\gilberto.segundo\curso-react-alurabooks\node_modules\isexe\package.json', requestPath: 'isexe' }
Node.js v18.17.1