Olá,
estou tentando dar npm install na pasta api, mas está ocorrendo alguns erros. Tentei tbm dar um "npm install sqlite3", mas sem sucesso, fica horas e não dá certo. Um detalhe importante é que eu uso no notebook da empresa e tem o proxy aqui, talvez seja isso o problema mas não sei como arrumar.
Erro ao dar NPM INSTALL
C:\Users\jfernabe\Downloads\Angular4\api>npm install
> sqlite3@4.0.0 install C:\Users\jfernabe\Downloads\Angular4\api\node_modules\sqlite3
> node-pre-gyp install --fallback-to-build
node-pre-gyp ERR! Completion callback never invoked!
node-pre-gyp ERR! System Windows_NT 10.0.16299
node-pre-gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\jfernabe\\Downloads\\Angular4\\api\\node_modules\\sqlite3\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd C:\Users\jfernabe\Downloads\Angular4\api\node_modules\sqlite3
node-pre-gyp ERR! node -v v8.11.4
node-pre-gyp ERR! node-pre-gyp -v v0.9.0
node-pre-gyp ERR! This is a bug in `node-pre-gyp`.
node-pre-gyp ERR! Try to update node-pre-gyp and file an issue if it does not help:
node-pre-gyp ERR! <https://github.com/mapbox/node-pre-gyp/issues>
npm WARN alurapic@1.0.0 No description
npm WARN alurapic@1.0.0 No repository field.
npm ERR! code ELIFECYCLE
npm ERR! errno 6
npm ERR! sqlite3@4.0.0 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 6
npm ERR!
npm ERR! Failed at the sqlite3@4.0.0 install 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\jfernabe\AppData\Roaming\npm-cache\_logs\2018-10-23T13_44_15_781Z-debug.log
Erro ao dar NPM INSTALL SQLITE3
C:\Users\jfernabe\Downloads\Angular4\api>npm install sqlite3
npm WARN registry Unexpected warning for https://registry.npmjs.org/: Miscellaneous Warning ETIMEDOUT: request to https://registry.npmjs.org/sqlite3 failed, reason: connect ETIMEDOUT 10.213.8.100:8080
npm WARN registry Using stale package data from https://registry.npmjs.org/ due to a request error during revalidation.
Obrigado gente