npm install
Install dependencies for packages and link them together (done by lerna)
npm run bs
Execute tests (done by Jest)
npm run test
use this method
pm ERR! code 1
npm ERR! git dep preparation failed
npm ERR! command /usr/local/bin/node /usr/local/lib/node_modules/npm/bin/npm-cli.js install --force --cache=/root/.npm --prefer-offline=false --prefer-online=false --offline=false --no-progress --no-save --no-audit
npm ERR! npm WARN using --force Recommended protections disabled.
npm ERR! npm ERR! code 1
npm ERR! npm ERR! path /root/.npm/_cacache/tmp/git-clone-a3b049e3/node_modules/tiny-secp256k1
npm ERR! npm ERR! command failed
npm ERR! npm ERR! command sh -c node-gyp rebuild
npm ERR! npm ERR! make: Entering directory '/root/.npm/_cacache/tmp/git-clone-a3b049e3/node_modules/tiny-secp256k1/build'
npm ERR! npm ERR! CXX(target) Release/obj.target/secp256k1/native/addon.o
npm ERR! npm ERR! make: Leaving directory '/root/.npm/_cacache/tmp/git-clone-a3b049e3/node_modules/tiny-secp256k1/build'
npm ERR! npm ERR! gyp info it worked if it ends with ok
npm ERR! npm ERR! gyp info using node-gyp@7.1.2
npm install
npm run bs
npm run test
use this method
pm ERR! code 1
npm ERR! git dep preparation failed
npm ERR! command /usr/local/bin/node /usr/local/lib/node_modules/npm/bin/npm-cli.js install --force --cache=/root/.npm --prefer-offline=false --prefer-online=false --offline=false --no-progress --no-save --no-audit
npm ERR! npm WARN using --force Recommended protections disabled.
npm ERR! npm ERR! code 1
npm ERR! npm ERR! path /root/.npm/_cacache/tmp/git-clone-a3b049e3/node_modules/tiny-secp256k1
npm ERR! npm ERR! command failed
npm ERR! npm ERR! command sh -c node-gyp rebuild
npm ERR! npm ERR! make: Entering directory '/root/.npm/_cacache/tmp/git-clone-a3b049e3/node_modules/tiny-secp256k1/build'
npm ERR! npm ERR! CXX(target) Release/obj.target/secp256k1/native/addon.o
npm ERR! npm ERR! make: Leaving directory '/root/.npm/_cacache/tmp/git-clone-a3b049e3/node_modules/tiny-secp256k1/build'
npm ERR! npm ERR! gyp info it worked if it ends with ok
npm ERR! npm ERR! gyp info using node-gyp@7.1.2