Open ubuntunewdev100 opened 5 years ago
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'
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
@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
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?