node-question-answering
node-question-answering copied to clipboard
NPM Install Error!
Its not installing uggg!!!!
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '[email protected]',
npm WARN EBADENGINE required: { node: '>=10 < 11 || >=12 <14' },
npm WARN EBADENGINE current: { node: 'v15.14.0', npm: '7.7.6' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '[email protected]',
npm WARN EBADENGINE required: { node: '>=10 < 11 || >=12 <14' },
npm WARN EBADENGINE current: { node: 'v15.14.0', npm: '7.7.6' }
npm WARN EBADENGINE }
npm WARN deprecated [email protected]: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future
^A[ ] / reify:@tensorflow/tfjs-core: http fetch GET 200 https://registry.npmjs.org/@tensorflow/tfjs-cords[ ] - reify:@tensorflow/tfjs-core: http fetch GET 200 https://registry.npmjs.org/@tensorflow/tfjs-cornpm ERR! code 1
npm ERR! path /mnt/c/Users//OneDriveSchool/Documents/CODING/PERSONAL/MISC/ArticleParserTest/node_modules/tokenizers
npm ERR! command failed
npm ERR! command sh -c node-pre-gyp install
npm ERR! 403 status code downloading tarball https://tokenizers-releases.s3.amazonaws.com/node/0.7.0/index-v0.7.0-node-v88-linux-x64-glibc.tar.gz
npm ERR! node-pre-gyp info it worked if it ends with ok
npm ERR! node-pre-gyp info using [email protected]
npm ERR! node-pre-gyp info using [email protected] | linux | x64
npm ERR! node-pre-gyp WARN Using request for node-pre-gyp https download
npm ERR! node-pre-gyp info check checked for "/mnt/c/Users//OneDriveSchool/Documents/CODING/PERSONAL/MISC/ArticleParserTest/node_modules/tokenizers/bin-package/index.node" (not found)
npm ERR! node-pre-gyp http GET https://tokenizers-releases.s3.amazonaws.com/node/0.7.0/index-v0.7.0-node-v88-linux-x64-glibc.tar.gz
npm ERR! node-pre-gyp http 403 https://tokenizers-releases.s3.amazonaws.com/node/0.7.0/index-v0.7.0-node-v88-linux-x64-glibc.tar.gz
npm ERR! node-pre-gyp ERR! install error
npm ERR! node-pre-gyp ERR! stack Error: 403 status code downloading tarball https://tokenizers-releases.s3.amazonaws.com/node/0.7.0/index-v0.7.0-node-v88-linux-x64-glibc.tar.gz
npm ERR! node-pre-gyp ERR! stack at Request.
npm ERR! A complete log of this run can be found in: npm ERR! /home/*/.npm/_logs/2021-05-27T17_22_58_874Z-debug.log
I am having the same issue
I am having the same issue
If using Unix (Mac/Linux) make an sh script with the following (otherwise you can just manually install these):
npm install @mapbox/node-pre-gyp
npm install question-answering@latest
If you look up node-pre-gyp you will find that it is obsolete and it tells you to upgrade to @mapbox/node-pre-gyp
. This should solve your issue!
For me, installing node 12.18.3 solved this
This project seriously needs an update.
Node versions above 12 are not working. See https://github.com/huggingface/node-question-answering/issues/41#issuecomment-1040020971