bcoin-org/bcoin

Cannot install bcoin, Possible bcrypto error

Kaushik-Iyer opened this issue · 3 comments

image
This is the error I get when i try to run 'npm rebuild' to get started with bcoin
Operating System: Ubuntu 22.04

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

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>

@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