huggingface / node-question-answering

Fast and production-ready question answering in Node.js
Apache License 2.0
464 stars 55 forks source link

403 error #1

Closed guillim closed 4 years ago

guillim commented 4 years ago

Hello,

First thanks for your work, looks great. Wish I could try it but :

I am stuck trying your package on the first step :

npx question-answering download

I have this issue raising:

node-pre-gyp ERR! stack Error: 403 status code downloading tarball https://tokenizers-releases.s3.amazonaws.com/node/0.4.1/index-v0.4.1-node-v57-darwin-x64-unknown.tar.gz

It could be a problem on my side like my ISP blocking, but I doubt it. And I am not using any proxies. Am I the only one experiencing this?

Pierrci commented 4 years ago

Hi, your problem is related to the version of Node.js you're using. The package is only compatible with versions 10.x, 12.x and 13.x because of the tokenizers library used internally for tokenization.

Let me know if it works with one of those versions!

guillim commented 4 years ago

Tks @Pierrci it works fine now !

for those with same issue :

sudo n 13

Should do (install n if you haven't or follow another technique)

seppestaes commented 3 years ago

Installing it locally works fine (node 12.21.0). Installing it on github whilst specifying the same node version throws this error:

stack Error: 403 status code downloading tarball https://tokenizers-releases.s3.amazonaws.com/node/0.7.0/index-v0.7.0-node-v83-linux-x64-glibc.tar.gz