1
resposta

erro npm start

node:internal/modules/cjs/loader:928
  throw err;
  ^

Error: Cannot find module '/home/relborges/estudo/1526-FetchAPI-projeto_inicial/server-petshop-master/server-petshop/node_modules/sqlite3/lib/binding/node-v88-linux-x64/node_sqlite3.node'
Require stack:
- /home/relborges/estudo/1526-FetchAPI-projeto_inicial/server-petshop-master/server-petshop/node_modules/sqlite3/lib/sqlite3-binding.js
- /home/relborges/estudo/1526-FetchAPI-projeto_inicial/server-petshop-master/server-petshop/node_modules/sqlite3/lib/sqlite3.js
- /home/relborges/estudo/1526-FetchAPI-projeto_inicial/server-petshop-master/server-petshop/node_modules/sqlite/main.js
- /home/relborges/estudo/1526-FetchAPI-projeto_inicial/server-petshop-master/server-petshop/infraestrutura/database/tabelas.js
- /home/relborges/estudo/1526-FetchAPI-projeto_inicial/server-petshop-master/server-petshop/server.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:925:15)
    at Function.Module._load (node:internal/modules/cjs/loader:769:27)
    at Module.require (node:internal/modules/cjs/loader:997:19)
    at require (node:internal/modules/cjs/helpers:92:18)
    at Object.<anonymous> (/home/relborges/estudo/1526-FetchAPI-projeto_inicial/server-petshop-master/server-petshop/node_modules/sqlite3/lib/sqlite3-binding.js:4:15)
    at Module._compile (node:internal/modules/cjs/loader:1108:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10)
    at Module.load (node:internal/modules/cjs/loader:973:32)
    at Function.Module._load (node:internal/modules/cjs/loader:813:14)
    at Module.require (node:internal/modules/cjs/loader:997:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/home/relborges/estudo/1526-FetchAPI-projeto_inicial/server-petshop-master/server-petshop/node_modules/sqlite3/lib/sqlite3-binding.js',
    '/home/relborges/estudo/1526-FetchAPI-projeto_inicial/server-petshop-master/server-petshop/node_modules/sqlite3/lib/sqlite3.js',
    '/home/relborges/estudo/1526-FetchAPI-projeto_inicial/server-petshop-master/server-petshop/node_modules/sqlite/main.js',
    '/home/relborges/estudo/1526-FetchAPI-projeto_inicial/server-petshop-master/server-petshop/infraestrutura/database/tabelas.js',
    '/home/relborges/estudo/1526-FetchAPI-projeto_inicial/server-petshop-master/server-petshop/server.js'
  ]
}
[nodemon] app crashed - waiting for file changes before starting...
1 resposta

Fala ai Relancio, tudo bem? Parece que o projeto não está encontrando a dependência sqlite3, você rodou o npm i antes do npm start?

Espero ter ajudado.