node-pre-gyp: Error: Completion callback never invoked
E:\TEST\sqlite3>npm install sqlite3
sqlite3@4.0.0 install E:\TEST\sqlite3\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 6.1.7601
node-pre-gyp ERR! command “D:\nodejs\node.exe” “E:\TEST\sqlite3\node_module
s\sqlite3\node_modules\node-pre-gyp\bin\node-pre-gyp” “install” “–fallback
-to-build”
node-pre-gyp ERR! cwd E:\TEST\sqlite3\node_modules\sqlite3
node-pre-gyp ERR! node -v v8.9.3
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 he
lp:
node-pre-gyp ERR! https://github.com/mapbox/node-pre-gyp/issues
npm ERR! code ENOSYS
npm ERR! errno ENOSYS
npm ERR! syscall kill
npm ERR! kill ENOSYS
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 12
- Comments: 38 (7 by maintainers)
face the same issue
npm install -g node-pre-gyp …(this will install v0.9.0) npm update node-pre-gyp …(this will update it to 0.10.0)
or alternatively npm install -g node-pre-gyp@0.10.0
Hello, I had the same problem, I disabled my antivirus (kaspersky) and it ran like a charm. Hope it can help.
how to solve this????
Try with
yarninstead ofnpm. it works for me.For me, it was a network issue. switched to mobile hotspot and it worked
This is really annoying.
I ran into this issue today in my Mac Pro with node v8.
Is there a workaround to make it work?
Update
I just made it work after I switched my computer from the Wifi(China Telecom) to my Android Phone Hotspot(China Mobile).
Before
After
Conclusion
I believe it’s a network issue on my case. We should have more clear error message for this kind of situation.
@D4you208 I had this issue when using firebase cloud functions… (it was used by firebase-admin i think)… So i solved it by “npm install firebase-admin --force”… But this solution could work only for cloud functions, because it’s executed on the server and i think there isn’t such problem… So all i need to install it locally to pass lint check before deploy… (i think it will not work locally)
has anyone fixed this issue yet?? Mine always works for a short period of time then all of a sudden this issue shows up… After i gave up on windows i dualbooted with an ubuntu and installed it there then it fixed my problem… Then it worked for a short period and then the problem came back… I immediately installed it on a third OS , this time on a mac but the same issue showed up from the beginning… I have a feeling Node is simply broken… No matter how many times i switched node version with nvm and reinstalled node and everything it never installed firebase and angularfire2 …
In my case , deleting the package lock and re generating it solved the problem
was having the same problem, uninstalled Node v12 and installed Node version 10.19 and it worked for me
https://nodejs.org/dist/latest-v10.x/Thanks for the detailed report @zixia
If you upgrade (or ask the grpc developers to upgrade) node-pre-gyp to v0.10.2 I think the error message will improve since v0.10.2 includes https://github.com/mapbox/node-pre-gyp/pull/377.
A potential root cause would be network failure or potentially (if you are behind a proxy with one network) #400