Git Product home page Git Product logo

Comments (11)

bsbits avatar bsbits commented on August 29, 2024 1

worked like a charm.

from insight-ui.

afzydev avatar afzydev commented on August 29, 2024 1

Hi

Please help me.
Whenever i am installing bitcore-node-dash i am getting this error.

[email protected] 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! [email protected] preinstall: `./scripts/download`
npm ERR! Exit status 126
npm ERR! 
npm ERR! Failed at the [email protected] 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

from insight-ui.

Alex-Werner avatar Alex-Werner commented on August 29, 2024

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 ?

from insight-ui.

bsbits avatar bsbits commented on August 29, 2024

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

from insight-ui.

bsbits avatar bsbits commented on August 29, 2024

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

from insight-ui.

Alex-Werner avatar Alex-Werner commented on August 29, 2024

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.

from insight-ui.

bsbits avatar bsbits commented on August 29, 2024

Python is required for [email protected]

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.

from insight-ui.

Alex-Werner avatar Alex-Werner commented on August 29, 2024

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

from insight-ui.

bsbits avatar bsbits commented on August 29, 2024

/home/ubuntu/.bitcore/data/dashcore-0.12.1/bin/dashd
/home/ubuntu/.bitcore/data/dashd

from insight-ui.

Alex-Werner avatar Alex-Werner commented on August 29, 2024

Can I propose you to follow this : https://gist.github.com/Alex-Werner/0be9bb4757b013043eeb9be5d93d9d39

from insight-ui.

Alex-Werner avatar Alex-Werner commented on August 29, 2024

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

from insight-ui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.