Ola gente, ha dias que estou tentando, ja reinstalei o node, ja tentei o npm audit fix.. e nao consigo..
aqui vai o erro
> agenda-petshop@1.0.0 start
> nodemon server.js
[nodemon] 1.19.0
[nodemon] to restart at any time, enter `rs`
[nodemon] watching: *.*
[nodemon] starting `node server.js`
node:internal/modules/cjs/loader:928
throw err;
^
Error: Cannot find module 'C:\Users\JANIO\Desktop\estudos\1526-FetchAPI-aula2\server-petshop\node_modules\sqlite3\lib\binding\node-v88-win32-x64\node_sqlite3.node'
Require stack:
- C:\Users\JANIO\Desktop\estudos\1526-FetchAPI-aula2\server-petshop\node_modules\sqlite3\lib\sqlite3.js
- C:\Users\JANIO\Desktop\estudos\1526-FetchAPI-aula2\server-petshop\node_modules\sqlite\main.js
- C:\Users\JANIO\Desktop\estudos\1526-FetchAPI-aula2\server-petshop\infraestrutura\database\tabelas.js
- C:\Users\JANIO\Desktop\estudos\1526-FetchAPI-aula2\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> (C:\Users\JANIO\Desktop\estudos\1526-FetchAPI-aula2\server-petshop\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: [
'C:\\Users\\JANIO\\Desktop\\estudos\\1526-FetchAPI-aula2\\server-petshop\\node_modules\\sqlite3\\lib\\sqlite3.js',
'C:\\Users\\JANIO\\Desktop\\estudos\\1526-FetchAPI-aula2\\server-petshop\\node_modules\\sqlite\\main.js',
'C:\\Users\\JANIO\\Desktop\\estudos\\1526-FetchAPI-aula2\\server-petshop\\infraestrutura\\database\\tabelas.js',
'C:\\Users\\JANIO\\Desktop\\estudos\\1526-FetchAPI-aula2\\server-petshop\\server.js'
]
}
[nodemon] app crashed - waiting for file changes before starting...
e ai fica assim e nao sai disso nunca.. alguem pode me ajudar? :(