Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install bcoin, Possible bcrypto error #1142

Open
Kaushik-Iyer opened this issue Feb 21, 2023 · 3 comments
Open

Cannot install bcoin, Possible bcrypto error #1142

Kaushik-Iyer opened this issue Feb 21, 2023 · 3 comments

Comments

@Kaushik-Iyer
Copy link

Kaushik-Iyer commented Feb 21, 2023

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

@r0ushann
Copy link

r0ushann commented Mar 6, 2023

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
Copy link

r0ushann commented Mar 6, 2023

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
Copy link

gks2022004 commented Apr 7, 2023

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants