Unable to install bignum
When I type in: npm install --save bignum It gives me this error:
[email protected] install D:\torrent-client\node_modules\bignum prebuild-install || node-gyp rebuild
prebuild-install WARN install No prebuilt binaries found (target=8.11.1 runtime=node arch=x64 platform=win32)
D:\torrent-client\node_modules\bignum>if not defined npm_config_node_gyp (node "C:\Users\tak1za\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Users\tak1za\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "C:\ProgramData\Anaconda3\python.EXE", you can set the PYTHON env variable.
gyp ERR! stack at PythonFinder.failNoPython (C:\Users\tak1za\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\configure.js:492:19)
gyp ERR! stack at PythonFinder.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: prebuild-install || node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\tak1za\AppData\Roaming\npm-cache_logs\2018-07-21T14_41_19_467Z-debug.log
I got this error too
I was able to solve it by using Python 2.7 instead of 3.x Hope it helps! Also, do put the python executable as your environment variable, because that was the original error. And do revert if you are able to solve it too by doing what I mentioned above so I can close this issue
thanks!
On Sat, Mar 30, 2019, 9:38 PM Varun Gupta [email protected] wrote:
I was able to solve it by using Python 2.7 instead of 3.x Hope it helps! And do revert if you are able to solve it too by doing what I mentioned above so I can close this issue
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/justmoon/node-bignum/issues/113#issuecomment-478246419, or mute the thread https://github.com/notifications/unsubscribe-auth/AXmHhOfQCDyCsin1M23stBnkgEkN7NrIks5vb2jQgaJpZM4VZpmW .