1
resposta

Problema com a API disponibilizada

Estou com problemas para executar a api disponibilizada:

> instalura-api@1.0.0 start
> node server.js

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

Error: Cannot find module 'C:\Users\Elara\Desktop\React Native\instalura-api-master\node_modules\sqlite3\lib\binding\node-v88-win32-x64\node_sqlite3.node'
Require stack:
- C:\Users\Elara\Desktop\React Native\instalura-api-master\node_modules\sqlite3\lib\sqlite3.js
- C:\Users\Elara\Desktop\React Native\instalura-api-master\config\database.js
- C:\Users\Elara\Desktop\React Native\instalura-api-master\config\express.js
- C:\Users\Elara\Desktop\React Native\instalura-api-master\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> (C:\Users\Elara\Desktop\React Native\instalura-api-master\node_modules\sqlite3\lib\sqlite3.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: [
1 resposta
O post foi fechado por inatividade. Para continuar o assunto, recomendamos criar um novo tópico. Bons Estudos!