bitpay / node-bitpay-client

A Node.js module and command line client for interacting with BitPay's Cryptographically Secure API
102 stars 95 forks source link

node-gyp build error on ubuntu due to bignum install fail #104

Closed parinaA closed 4 years ago

parinaA commented 4 years ago

On running

npm install bitpay --save

I get as error in node-gyp build failed due to bignum@0.13.0 install fail as attached in the error log.

npm ERR! bignum@0.13.0 install: `prebuild-install || node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the bignum@0.13.0 install script.

node : v 12.13.0 ubuntu : v 19.04 npm: v 6.12.0 python: v 2.7.16 2019-10-28T09_43_29_252Z-debug.log

thejoshualewis commented 4 years ago

Hi @parinaA Try installing bignum separately npm install --save bignum