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

install #38

Open
ubuntunewdev100 opened this issue Jun 6, 2019 · 3 comments
Open

install #38

ubuntunewdev100 opened this issue Jun 6, 2019 · 3 comments

Comments

@ubuntunewdev100
Copy link

Im using: git clone https://github.com/tendermint/js-abci

Then: npm install abci

And i get an error message:
npm ERR! Refusing to install package with name "abci" under a package
npm ERR! also called "abci". Did you name your project the same
npm ERR! as the dependency you're installing?

Could someone please help?

@ubuntunewdev100
Copy link
Author

Update, so i managed to install it, i dont know how. Now im trying to find the app.js but i cant. so this is what i get:
node example/app.js
internal/modules/cjs/loader.js:626
throw err;
^

Error: Cannot find module '/root/go/src/github.com/tendermint/js-abci/example/example/app.js'

@andynog
Copy link

andynog commented Jul 3, 2019

I believe the install instructions are not right. In the step to cd into the cloned repo you should cd into the examples folder and then run the npm command

$ cd js-abci/example

$ npm install

and then run the example:

$ node counter.js

@AndrewBoyarsky
Copy link

@andynog I just used your instructions, build ran fine in js-abci/example dir (npm install), but node counter.js forever fails. To fix that need to go back to js-abci directory and execute npm install there, then go back to js-abci dir and execute node counter.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