Error: Completion callback never invoked w/v0.11.0 + request
See original GitHub issueI’m opening a new issue based on @springmeyer’s comment on #367.
Here’s what I’m seeing when issuing an npm rebuild:
$ npm rebuild --update-binary --target_arch=x64 --target_platform=linux
node-pre-gyp WARN Using request for node-pre-gyp https download
node-pre-gyp ERR! Completion callback never invoked!
node-pre-gyp ERR! System Darwin 18.2.0
node-pre-gyp ERR! command "/private/var/tmp/_bazel_rohansingh/649b503783f1008804e854e38f7f4c52/external/nodejs/bin/nodejs/bin/node" "/private/var/tmp/_bazel_rohansingh/649b503783f1008804e854e38f7f4c52/execroot/hustle/bazel-out/darwin-fastbuild/genfiles/backend/npm_backend/node_modules/bcrypt/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /private/var/tmp/_bazel_rohansingh/649b503783f1008804e854e38f7f4c52/execroot/hustle/bazel-out/darwin-fastbuild/genfiles/backend/npm_backend/node_modules/bcrypt
node-pre-gyp ERR! node -v v10.13.0
node-pre-gyp ERR! node-pre-gyp -v v0.11.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 ERR! code ELIFECYCLE
npm ERR! errno 6
npm ERR! bcrypt@3.0.2 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 6
npm ERR!
npm ERR! Failed at the bcrypt@3.0.2 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
This is actually running in Bazel, but I’ve disabled Bazel’s sandboxing and checked that tools like curl work in the same context.
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
node-pre-gyp err completion callback never invoked
This was a bug in node-pre-gyp, which gRPC uses. That bug has been fixed, and gRPC version 1.13.1 has been published with the...
Read more >npm install grpc is failing on ubuntu 16.04. - Google Groups
But it is failing with below error. ... Completion callback never invoked! node-pre-gyp ERR! ... A complete log of this run can be...
Read more >JMobile Studio - EXOR International
Complete BACnet support with BACnet alarms and trends. ○. Added support for new EXOR products (JSmart, eXware, eX FB). 4. JMobile Studio |...
Read more >Android 12 Compatibility Definition
MUST meet the media requirements listed in android 11 CDD section 2.2.7.1 ... application callbacks when an application has never called android.hardware.
Read more >NATIONAL TAXPAYER ADVOCATE
to Congress 41-69 (Most Serious Problem: IRS Lacks a Servicewide Return Preparer ... 4 See IRS response to TAS information request (email from...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Note sure if this is the same issue, but I have solved a related issue using
--unsafe-perm:For my specific case:
On OS X:
If if doesn’t work it’s probably an issue with permissions (you should probably uninstall and install node again), but a workaround is:
On Linux, it’s the same as above:
Right. The code is eating most errors and just will result in this state. This definitely could be improved.