Cannot install bcoin, Possible bcrypto error
Kaushik-Iyer opened this issue · 3 comments
Kaushik-Iyer commented
r0ushann commented
it may be cause of incomplete cloning of the repo..
you may try by making a completely new folder and then starting from the initial cloning command
r0ushann commented
installing via git
$ mkdir Bcoin && cd Bcoin
$ git clone https://github.com/bcoin-org/bcoin
$ cd bcoin
verify signature
$ git log --show-signature
<press q to exit signature log>
build and install globally with npm
$ git log --show-signature
<press q to exit signature log>
gks2022004 commented
@Kaushik-Iyer @r0ushann
To build and install globally with npm you need to run:
$ npm rebuild
$ npm install --global
Then to run the test locally:
from inside the bcoin repo directory, run
$ npm run test
or you can run a single test also
$ npm run test-file test/address-test.js