node-zopfli: Download fails with HTTP=403 (Yarn, Node-Gyp, Mac, Node 7.10)

It seems that right now there is some issues downloading binaries for this package. This is the error I got over the last 30 minutes (retried a few times):

node-pre-gyp info using node-pre-gyp@0.6.34
node-pre-gyp info using node@7.10.0 | darwin | x64
node-pre-gyp info check checked for "/Users/Sebastian/Workspace/sebastian-software/edgestack/node_modules/node-zopfli/lib/binding/node-v51-darwin-x64/zopfli.node" (not found)
node-pre-gyp http GET https://node-zopfli.s3.amazonaws.com/Release/zopfli-v1.4.0-node-v51-darwin-x64.tar.gz
node-pre-gyp http 403 https://node-zopfli.s3.amazonaws.com/Release/zopfli-v1.4.0-node-v51-darwin-x64.tar.gz
node-pre-gyp ERR! Tried to download(403): https://node-zopfli.s3.amazonaws.com/Release/zopfli-v1.4.0-node-v51-darwin-x64.tar.gz 
node-pre-gyp ERR! Pre-built binaries not found for node-zopfli@1.4.0 and node@7.10.0 (node-v51 ABI) (falling back to source compile with node-gyp) 
node-pre-gyp http 403 status code downloading tarball https://node-zopfli.s3.amazonaws.com/Release/zopfli-v1.4.0-node-v51-darwin-x64.tar.gz 
  • node --version: v7.10.0
  • yarn --version: 0.24.5
  • npm --version: 4.6.1

Hopefully someone has an idea where this is coming from. Thanks a lot!

About this issue

  • Original URL
  • State: open
  • Created 7 years ago
  • Reactions: 25
  • Comments: 28 (2 by maintainers)

Most upvoted comments

hi, @pierreinglebert, can you publish a package with included binaries? like node-zopfli-prebuilt

When using npm i --build-from-source it works for me. I wonder why this is, since not having binaries should automatically trigger a build from source anyway,

Seems like another case of “tough luck Windows users, works on my Mac”. Amazing how many repos reference this or similar issues and there doesn’t seem to be any true answer after a year or so. It’s really unfortunate that developing modern web apps on Windows is such a disaster most of the time.

😢

You can compile from source instead of downlad prebuild binary

npm install --build-from-source node-zopfli

I tested on: Arch Linux 4.11.12-1-MANJARO node 8.2.1 npm 5.3.0