fs-eire / onnxjs-node

ONNX.js node binding (onnxruntime)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`npm install` directs to the wrong download

bencbartlett opened this issue · comments

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.

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.