Microsoft Windows [versão 10.0.19042.746] (c) 2020 Microsoft Corporation. Todos os direitos reservados.
C:\WINDOWS\system32>cd C:\Fasolti\api
C:\Fasolti\api>npm start
alurapic@1.0.0 start C:\Fasolti\api node server.js
internal/modules/cjs/loader.js:883 throw err; ^
Error: Cannot find module 'sqlite3' Require stack:
- C:\Fasolti\api\config\database.js
- C:\Fasolti\api\config\express.js
- C:\Fasolti\api\server.js
at Function.Module.resolveFilename (internal/modules/cjs/loader.js:880:15)
at Function.Module.load (internal/modules/cjs/loader.js:725:27)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at Object. (C:\Fasolti\api\config\database.js:1:17)
at Module.compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module.extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module.load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19) {
code: 'MODULENOT_FOUND',
requireStack: [
'C:\Fasolti\api\config\database.js',
'C:\Fasolti\api\config\express.js',
'C:\Fasolti\api\server.js'
]
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! alurapic@1.0.0 start:
node server.js
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the alurapic@1.0.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\amand\AppData\Roaming\npm-cache_logs\2021-01-18T19_27_55_154Z-debug.log