Closed bsbits closed 7 years ago
Hello @bsbits,
I can assume from logs provided that you run on Ubuntu, right ? Could you provide more information about how you install it in the first place ?
Correct, and this is the process I used to install it. First, I created an aws instance.
sudo apt-get update -y
sudo apt-get upgrade
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
nvm install v4
apt-get install libzmq3-dev build-essential
npm install -g bitcore-node-dash
bitcore-node-dash create mynode
cd mynode
bitcore-node-dash install insight-api-dash
bitcore-node-dash install insight-ui-dash
bitcore-node-dash start
Oh, and I also had to install python.
sudo apt-get install python
without it, I can not run npm install -g bitcore-node-dash
without errors
Did you remember or have any log of the error regarding Python ?
When you did the creation of the mynode, are you sure that the folder mynode exist ? (as you diverted here a little from the doc).
Edit : Trying to reproduce in my end to lookup why it seeks on this folder.
Python is required for zmq@2.15.3
So I had to install python and node-gyp
The folder mynode exists, I had to cd there to install the api and ui.
The doc here is not complete, Insight require node js to run.
Yeah, actually the doc is here : https://github.com/dashpay/bitcore-node-dash As this place is for Insight-ui (which is only an Angular Plugin allowing to explore the Blockchain).
But nevertheless, there is still an issue. During the time I move forward on my end, could you perform a search for the file dashd
/home/ubuntu/.bitcore/data/dashcore-0.12.1/bin/dashd /home/ubuntu/.bitcore/data/dashd
Can I propose you to follow this : https://gist.github.com/Alex-Werner/0be9bb4757b013043eeb9be5d93d9d39
worked like a charm.
Hi
Please help me. Whenever i am installing bitcore-node-dash i am getting this error.
bitcore-node-dash@3.0.5 preinstall /home/afzal/.nvm/versions/node/v4.8.4/lib/node_modules/bitcore-node-dash
> ./scripts/download
sh: 1: ./scripts/download: Permission denied
npm ERR! Linux 3.16.0-30-generic
npm ERR! argv "/home/afzal/.nvm/versions/node/v4.8.4/bin/node" "/home/afzal/.nvm/versions/node/v4.8.4/bin/npm" "install" "-g" "bitcore-node-dash"
npm ERR! node v4.8.4
npm ERR! npm v2.15.11
npm ERR! code ELIFECYCLE
npm ERR! bitcore-node-dash@3.0.5 preinstall: `./scripts/download`
npm ERR! Exit status 126
npm ERR!
npm ERR! Failed at the bitcore-node-dash@3.0.5 preinstall script './scripts/download'.
npm ERR! This is most likely a problem with the bitcore-node-dash package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! ./scripts/download
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs bitcore-node-dash
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls bitcore-node-dash
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/afzal/npm-debug.log
Thanks
Hello @afzydev I suggest you to follow this, an easier way to install it : https://gist.github.com/Alex-Werner/6de16b72a9070d945e3e74691d318f24 Also, here you have a permission issue which is not related to the package but with user rights.
No need to spam at 3 places ;) Also, the repo is now at github.com/dashevo
Hello,
So I have set everything properly, I launched 2 insight versions for BTC and LTC. All required libraries, dependencies are met, when I start the node, I get this error.
bitcore-node-dash start