aickin / shrink-ray

Node.js compression middleware
MIT License
268 stars 20 forks source link

Doesnt install on windows 10 64bit pro #18

Open nigel-dewar opened 6 years ago

nigel-dewar commented 6 years ago

Just wasted 2 hours trying to install angular-fullstack only to find this npm package is the culprit.

I see others and having trouble with it too.

radum commented 6 years ago

Make sure you have all you need for this to work. https://github.com/nodejs/node-gyp#option-1

CodeIter commented 5 years ago

Doesn't installed : yarn add shrink-ray@*

complete yarn log : https://gist.github.com/CodeIter/f4d14221b9cb2ca1aa28e226215d93c6 error summary :

Command: node-pre-gyp install --fallback-to-build
Arguments:
Directory: X:\Documents\codes\instream\node_modules\node-zopfli
Output:
...
node-pre-gyp http 403 https://node-zopfli.s3.amazonaws.com/Release/zopfli-v1.4.0-node-v72-win32-x64.tar.gz
node-pre-gyp ERR! Tried to download(403): https://node-zopfli.s3.amazonaws.com/Release/zopfli-v1.4.0-node-v72-win32-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for node-zopfli@1.4.0 and node@12.10.0 (node-v72 ABI, unknown) (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-v72-win32-x64.tar.gz
node-pre-gyp ERR! Tried to download(undefined): https://node-zopfli.s3.amazonaws.com/Release/zopfli-v1.4.0-node-v72-win32-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for node-zopfli@1.4.0 and node@12.10.0 (node-v72 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp http Connection closed while downloading tarball file
...
(lot of zopfli*.cc compilation error)
...