hummusRecipe icon indicating copy to clipboard operation
hummusRecipe copied to clipboard

Installing throws 404 on AWS package binary link

Open erezhod opened this issue 5 years ago • 9 comments

I'm trying npm i --save hummus-recipe, but it says the following:

node-pre-gyp WARN Using needle for node-pre-gyp https download 
node-pre-gyp WARN Tried to download(404): https://hummus.s3-us-west-2.amazonaws.com/hummus/v1.0.108/node-v79-darwin-x64-unk
nown.tar.gz 
node-pre-gyp WARN Pre-built binaries not found for [email protected] and [email protected] (node-v79 ABI, unknown) (falling back to 
source compile with node-gyp) 

After that, it just starts compiling the library by itself from scratch and then fails with an error. What could be the issue? I have the node-pre-gyp installed. I'm on macOS Catalina 10.15.3, Node version 13.8.0.

Thanks :)

erezhod avatar Feb 24 '20 14:02 erezhod

This does not look right to me node-v79-darwin-x64-unknown.tar.gz What's your platform?

chunyenHuang avatar Feb 24 '20 19:02 chunyenHuang

@chunyenHuang The setup is VSCode Node 13.8.0 with Express macOS Catalina 10.15.3

Tried it on Ubuntu system also with Node 13.8.0, the URL is different, but same is happening:

node-pre-gyp WARN Using needle for node-pre-gyp https download
node-pre-gyp WARN Tried to download(404): https://hummus.s3-us-west-2.amazonaws.com/hummus/v1.0.108/node-v79-linux-x64-glibc.tar.gz
node-pre-gyp WARN Pre-built binaries not found for [email protected] and [email protected] (node-v79 ABI, glibc) (falling back to source compile with node-gyp)

erezhod avatar Feb 24 '20 20:02 erezhod

This isn't a solution, but just in case someone else runs into this issue, you can always revert to an older version of Node to get it working. I'm using node version 10.15.3, but I'm sure others work as well.

eeallen1 avatar Mar 05 '20 23:03 eeallen1

@chunyenHuang is there a plan to bring to binaries up to date? otherwise the module isn't useable on newer platforms and galkana is no longer supporting hummus js or updating the binaries. Currently only reverting to an older version of node is the solution.

govindrai avatar May 08 '20 22:05 govindrai

@govindrai I am planning working on a fork version for the HummusJS so I can continue to support the new platforms.

chunyenHuang avatar May 09 '20 01:05 chunyenHuang

@govindrai I am planning working on a fork version for the HummusJS so I can continue to support the new platforms.

I'll contribute to the fork once make it @chunyenHuang .

AlainEdwards avatar Feb 25 '21 20:02 AlainEdwards

@govindrai I am planning working on a fork version for the HummusJS so I can continue to support the new platforms.

Unfortunately I have moved to a PHP solution since then, so it's a bit late for me 😅 But hopefully this gets forked, fixed and maintained. HummusJS is magnificent after all.

erezhod avatar Mar 08 '21 11:03 erezhod

I have moved onto pdfjs which is a fully native Js package and requires no custom binary.

govindrai avatar Mar 08 '21 15:03 govindrai

There is a fork and abi 79 should already be supported. I guess this can be closed here.

https://github.com/julianhille/MuhammaraJS/

julianhille avatar Mar 10 '21 07:03 julianhille