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

Build failed with v1.0.115 with node v12 #479

Closed Ashwinkumar-R closed 1 year ago

Ashwinkumar-R commented 1 year ago

node-pre-gyp ERR! install response status 404 Not Found on https://hummus.s3-us-west-2.amazonaws.com/hummus/v1.0.115/node-v72-linux-x64-glibc.tar.gz node-pre-gyp WARN Pre-built binaries not installable for hummus@1.0.115 and node@12.22.12 (node-v72 ABI, glibc) (falling back to source compile with node-gyp) node-pre-gyp WARN Hit error response status 404 Not Found on https://hummus.s3-us-west-2.amazonaws.com/hummus/v1.0.115/node-v72-linux-x64-glibc.tar.gz

galkahana commented 1 year ago

Makes sense. i moved to github actions for 1.0.115 and also upgraded some dependencies. Mocha, what im using for testing, no longer supports version earlier than node 13, which is why this happens. this means that i'm no longer building the binary modules for node versions earlier than 13. also for now building only for plain node, no musl, no electron. you can either use an earlier versions (1.0.112 or lower), upgrade your node version to 13 or higher, or move to MuhammaraJS which:

One thing though. the fact that the binary module was not found in itself should not cause a failure to installing hummus, because it should fallback on trying to build it locally. there must be other errors in addition to say what made it fail. my guess....without looking is that there's no C++ compiler on the target station. sharing more of the error log could help me figure out what's wrong...but it's probably better to just follow up using either one of my other suggestions.

Good luck, Gal.

Ashwinkumar-R commented 1 year ago

Thank you for the inputs.