galkahana / HummusJS

Node.js module for high performance creation, modification and parsing of PDF files and streams
http://www.pdfhummus.com
Other
1.14k stars 169 forks source link

Missing prebuilt binaries for Linux 64-bit #432

Closed ejz closed 4 years ago

ejz commented 4 years ago
yarn add v1.17.3
info No lockfile found.
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
error /root/node_modules/hummus: Command failed.
Exit code: 6
Command: node-pre-gyp install --fallback-to-build $EXTRA_NODE_PRE_GYP_FLAGS
Arguments: 
Directory: /root/node_modules/hummus
Output:
node-pre-gyp info it worked if it ends with ok
node-pre-gyp info using node-pre-gyp@0.10.3
node-pre-gyp info using node@10.16.3 | linux | x64
node-pre-gyp WARN Using needle for node-pre-gyp https download 
node-pre-gyp info check checked for "/root/node_modules/hummus/binding/hummus.node" (not found)
node-pre-gyp http GET https://hummus.s3-us-west-2.amazonaws.com/hummus/v1.0.105/node-v64-linux-x64-glibc.tar.gz
node-pre-gyp http 200 https://hummus.s3-us-west-2.amazonaws.com/hummus/v1.0.105/node-v64-linux-x64-glibc.tar.gz
node-pre-gyp info install unpacking binding/hummus.node
node-pre-gyp ERR! Completion callback never invoked! 
node-pre-gyp ERR! System Linux 4.15.0-62-generic
node-pre-gyp ERR! command "/usr/bin/node" "/root/node_modules/hummus/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /root/node_modules/hummus
node-pre-gyp ERR! node -v v10.16.3
node-pre-gyp ERR! node-pre-gyp -v v0.10.3
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>
The command '/bin/sh -c cd /root && npm init -y && yarn add hummus hummus-recipe --save' returned a non-zero code: 6

Link is not available. Meanwhile another S3 link is Ok.

filmerjarred commented 4 years ago

Might be caused by https://github.com/mapbox/node-pre-gyp/issues/477

CS-Jfilmer commented 4 years ago

As given in mapbox/node-pre-gyp#477, adding

"minipass": "2.7.0",

to my package.json as a temp work around fixed the issue

ejz commented 4 years ago

As given in mapbox/node-pre-gyp#477, adding

"minipass": "2.7.0",

to my package.json as a temp work around fixed the issue

Thanks, now is Ok, prebuilt binaries are found successfully on s3