sharp: Failure building node-gyp: 403 downloading binaries from bintray
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"
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 53
- Comments: 39 (9 by maintainers)
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
Back to work everyone!
I made a tweet to @bintray to give this issue more visibility https://twitter.com/mryvele/status/913790609470689282
hope this will help… we are stuck 😓
Whilst everyone waits for Bintray to lift the temporary rate-limiting, and if you’re able to share details publicly, it’s always great to learn about what people are using sharp for in the survey at #35.
I contacted Bintray support about this at 13:20 UTC, no response from them yet.
@longieirl
SHARP_DIST_BASE_URLis an environment variable rather than npm config.The forthcoming v0.19.x release will use Github Releases instead of Bintray - see #851
Hey guys, we increased the download quota. @lovell which address should I use for an email about how we make sure it won’t happen again?
@jcarley
brew install vipsIt is now back. Hopefully the problem will solve forever with version 0.19.x .
Having this same issue.
On macOS I was able to
brew tap homebrew/scienceand thenbrew install vipsto get the dependency locally.Hello everyone, I’m trying to build the necessary version as well. @danilovianna my stack runs in ELB, if I manage to make it work, I give you a heads up
I’m also hitting this error from multiple locations; it looks like https://dl.bintray.com/lovell/sharp/libvips-8.5.5-linux-x64.tar.gz does not exist although it happens to be listed on https://dl.bintray.com/lovell/sharp/, in fact, none of the binaries are being served.
Is there a fallback location for these files?
any alternate link for the binaries? I ran into this error, decided to remove my node_modules/ and now I’m stuck 😦
@yvele https://github.com/lovell/sharp/issues/851 😃