question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error: Completion callback never invoked w/v0.11.0 + request

See original GitHub issue

I’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:open
  • Created 5 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

6reactions
aconchillocommented, Mar 8, 2019

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:

$ npm install -g grpc-tools

If if doesn’t work it’s probably an issue with permissions (you should probably uninstall and install node again), but a workaround is:

$ sudo npm install --unsafe-perm -g grpc-tools

On Linux, it’s the same as above:

$ sudo npm install --unsafe-perm -g grpc-tools
0reactions
nicolasnoblecommented, Dec 3, 2018

Right. The code is eating most errors and just will result in this state. This definitely could be improved.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found