Ao executar o comando: npm run start-auth conforme a aula Preparando o ambiente, recebo o seguinte erro:
json-server-api@1.0.0 start-auth
node server.js
node:internal/modules/cjs/loader:1147 throw err; ^
Error: Cannot find module 'json-server' Require stack:
- /home/raimundo/Desenvolvimento/Javascript/Alura/api-alurabooks/server.js at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) at Module._load (node:internal/modules/cjs/loader:985:27) at Module.require (node:internal/modules/cjs/loader:1235:19) at require (node:internal/modules/helpers:176:18) at Object. (/home/raimundo/Desenvolvimento/Javascript/Alura/api-alurabooks/server.js:3:20) at Module._compile (node:internal/modules/cjs/loader:1376:14) at Module._extensions..js (node:internal/modules/cjs/loader:1435:10) at Module.load (node:internal/modules/cjs/loader:1207:32) at Module._load (node:internal/modules/cjs/loader:1023:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12) { code: 'MODULE_NOT_FOUND', requireStack: [ '/home/raimundo/Desenvolvimento/Javascript/Alura/api-alurabooks/server.js' ] }
Node.js v20.11.1