Colored-Coins / Colored-Coins-Block-Explorer

An implementation of a full Bitcoin Block Explorer (Parser/API/Sockets) with full Colored-Coins capabilities
17 stars 30 forks source link

"No such file or directory" error after npm install #1

Open zcsoka opened 8 years ago

zcsoka commented 8 years ago

Greetings,

Following the successful sudo npm i -g cc-block-explorer

installation, when I try to start the block explorer, it reports an error:

$ cc-block-explorer : No such file or directory

The link is correctly created and the files exist:

/usr/bin/cc-explorer -> /usr/lib/node_modules/cc-block-explorer/bin/cc-block-explorer /usr/bin/cc-block-explorer -> /usr/lib/node_modules/cc-block-explorer/bin/cc-block-explorer

Kind Regards,

zcsoka

mdemri commented 8 years ago

What OS and NPM/Node.js version you use?

zcsoka commented 8 years ago

Hi Moshe,

Debian Jessie 64 bit, name says:

$ uname -a Linux coloredcoin 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u4 (2016-02-29) x86_64 GNU/Linux

Node:

$ node -v v5.8.0

NPM:

$ npm -version 3.7.3

Kind Regards,

zcsoka

On 15 Mar 2016, at 12:31, Moshe Demri notifications@github.com wrote:

What OS and NPM/Node.js version you use?

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/Colored-Coins/Colored-Coins-Block-Explorer/issues/1#issuecomment-196775927 https://github.com/Colored-Coins/Colored-Coins-Block-Explorer/issues/1#issuecomment-196775927

Udala commented 8 years ago

That same error ": No such file or directory" happened to me when I first executed cc-block-explorer directly after the global npm install.

Then I realized the final output is still a node file. So running "node cc-block-explorer" worked fine for me.