Skip to content
This repository has been archived by the owner on Jun 4, 2021. It is now read-only.

npm install directs to the wrong download #3

Open
bencbartlett opened this issue May 14, 2019 · 1 comment
Open

npm install directs to the wrong download #3

bencbartlett opened this issue May 14, 2019 · 1 comment

Comments

@bencbartlett
Copy link

When running npm install, I get this error:

node-pre-gyp ERR! stack Error: 404 status code downloading tarball https://github.com/fs-eire/onnxjs-node/releases/download/v0.4.0-rev.1/onnxruntime-darwin-x64-node-v57.tar.gz

The tar.gz link is to a nonexistent file and likely should link to https://github.com/fs-eire/onnxjs-node/releases/download/v0.4.0-rev.1/onnxruntime-darwin-x64-napi-v3.tar.gz instead.

@fs-eire
Copy link
Owner

fs-eire commented May 31, 2019

Sorry for the late response...

This looks like you are using an old version of Node.js that does not have N-API v3 support.

According to the support table, specifically, you need v8.11.2 or later to make it work for Node.js v8.x.

I will update the README to include Node.js version requirement later.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants