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.

Failure building node-gyp: 403 downloading binaries from bintray

See original GitHub issue

Hi, I’m getting an error installing sharp in our CI environment:

lerna ERR! execute ERROR: https://dl.bintray.com/lovell/sharp/libvips-8.5.5-linux-x64.tar.gz status code 403

Rest of the output:

lerna ERR! execute error /home/jenkins/workspace/40d5bcb5/workspace/_reporting_reporting_PR-913-BC3JIYRAJGNCZDW7WEMZAY67U4MU3IJFTQGYTDBTHSZHTJ3BA5LA/services/pdf-comp-service/node_modules/sharp: Command failed.
lerna ERR! execute Exit code: 1
lerna ERR! execute Command: node-gyp rebuild
lerna ERR! execute Arguments: 
lerna ERR! execute Directory: /home/jenkins/workspace/40d5bcb5/workspace/_reporting_reporting_PR-913-BC3JIYRAJGNCZDW7WEMZAY67U4MU3IJFTQGYTDBTHSZHTJ3BA5LA/services/pdf-comp-service/node_modules/sharp
lerna ERR! execute Output:
lerna ERR! execute ERROR: https://dl.bintray.com/lovell/sharp/libvips-8.5.5-linux-x64.tar.gz status code 403
lerna ERR! execute gyp: Call to 'node -e "require('./binding').download_vips()"' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
lerna ERR! execute gyp ERR! configure error 
lerna ERR! execute gyp ERR! stack Error: `gyp` failed with exit code: 1
lerna ERR! execute gyp ERR! stack     at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:336:16)
lerna ERR! execute gyp ERR! stack     at emitTwo (events.js:125:13)
lerna ERR! execute gyp ERR! stack     at ChildProcess.emit (events.js:213:7)
lerna ERR! execute gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
lerna ERR! execute gyp ERR! System Linux 3.10.0-514.16.1.el7.x86_64
lerna ERR! execute gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:53
  • Comments:39 (9 by maintainers)

github_iconTop GitHub Comments

25reactions
lovellcommented, Sep 29, 2017

In case we lose Bintray again, Github-hosted backups of libvips v8.5.5 for sharp v0.18.x are at:

https://github.com/lovell/sharp-libvips/releases/tag/v8.5.5

SHARP_DIST_BASE_URL="https://github.com/lovell/sharp-libvips/releases/download/v8.5.5/" npm install sharp

Back to work everyone!

14reactions
yvelecommented, Sep 29, 2017

I made a tweet to @bintray to give this issue more visibility https://twitter.com/mryvele/status/913790609470689282

image

hope this will help… we are stuck 😓

Read more comments on GitHub >

github_iconTop Results From Across the Web

Node.js: Error: 403 status code downloading tarball
Error 403 means access is forbidden. Tarball is the tar.gz package file node is downloading for installation.
Read more >
Getting a lot of errors when running npm install - Treehouse
When running npm install, it gets to a certain point in the process where it causes a cascade of errors and I can't...
Read more >
homebrew-core - Homebrew Formulae
a2ps 4.14 Any‑to‑PostScript filter aacgain 1.8 AAC‑supporting version of mp3gain aalib 1.4rc5 Portable ASCII art graphics library aamath 0.3 Renders mathematical expressions as ASCII art
Read more >
ARTIFACTORY: How to download node-pre-gyp pre-compiled ...
Some node modules use node-pre-gyp to download pre-compiled binaries. By default, node-pre-gyp will try to download those binaries from an ...
Read more >
Failed to Install NPM Dependencies of an Atlassian Official ...
When I run “npm install”, it says “python: not found”, ... (falling back to source compile with node-gyp) node-pre-gyp http 403 status code ......
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