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

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

Open
zcsoka opened this issue Mar 15, 2016 · 3 comments
Open

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

zcsoka opened this issue Mar 15, 2016 · 3 comments

Comments

@zcsoka
Copy link

zcsoka commented Mar 15, 2016

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
Copy link
Contributor

mdemri commented Mar 15, 2016

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

@zcsoka
Copy link
Author

zcsoka commented Mar 15, 2016

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:
#1 (comment) #1 (comment)

@Udala
Copy link

Udala commented Jun 30, 2016

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.

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