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

Installation invalid target problem. #2

Closed
eloyucu opened this issue Sep 22, 2014 · 6 comments
Closed

Installation invalid target problem. #2

eloyucu opened this issue Sep 22, 2014 · 6 comments

Comments

@eloyucu
Copy link

eloyucu commented Sep 22, 2014

Hello every one.
I am trying to install pi-pins on a node project on my raspberry pi b+ (to used a dependent library -nfr-) and I am finding that the target is not valid. Exactly what it says is:

npm ERR! Error: No compatible version found: epoll@'^0.1.3'
npm ERR! Valid install targets:
npm ERR! ["0.0.1","0.0.2","0.0.3","0.0.4","0.0.5","0.0.6","0.0.7","0.0.8","0.1.0","0.1.1","0.1.2","0.1.3","0.1.4","0.1.5","0.1.7","0.1.8","0.1.9"]
npm ERR! at installTargetsError (/home/demon/node/lib/node_modules/npm/lib/cache.js:685:10)
npm ERR! at /home/demon/node/lib/node_modules/npm/lib/cache.js:607:10
npm ERR! at saved (/home/demon/node/lib/node_modules/npm/node_modules/npm-registry-client/lib/get.js:138:7)
npm ERR! at Object.oncomplete (fs.js:107:15)
npm ERR! If you need help, you may report this log at:
npm ERR! http://github.com/isaacs/npm/issues
npm ERR! or email it to:
npm ERR! npm-@googlegroups.com

npm ERR! System Linux 3.12.28+
npm ERR! command "/home/demon/node/bin/node" "/home/demon/node/bin/npm" "install" "pi-pins"
npm ERR! cwd /home/demon/proyectos-node/rf24
npm ERR! node -v v0.10.2
npm ERR! npm -v 1.2.15
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/demon/proyectos-node/rf24/npm-debug.log
npm ERR! not ok code 0

Why do I have this problem? and What could I do to solve it??
THANK YOU VERY MUCH.

@natevw
Copy link
Owner

natevw commented Sep 22, 2014

I'll try look into this soon, in the meantime could you paste the npm-debug.log mentioned to http://gist.github.com and share a link here? Thanks!

@natevw
Copy link
Owner

natevw commented Sep 22, 2014

I wonder if this is an issue with having an older node/npm install? From the list it gives, it should be able to find something compatible with "^0.1.3" but I wonder if your npm doesn't recognize that caret syntax or something? If you can try update at least npm (npm update -g npm?) that might help.

(Mostly just guessing here, though, sorry…even after setting up watchdog my RasPi seems to be in need of a physical reboot again and so I can't shell into it remotely and test.)

@natevw
Copy link
Owner

natevw commented Sep 22, 2014

Yeah, this might be npm/npm#4984 and it does recommend updating npm.

@eloyucu
Copy link
Author

eloyucu commented Sep 22, 2014

Ok!!! Thank you very much. Tomorrow I´ll try (now I´m too much tired), and I´ll tell you.
Thank y

@eloyucu
Copy link
Author

eloyucu commented Sep 23, 2014

Ok!!! the installation was succesfull... now I have to make tests!! Thank you very much!!

@natevw
Copy link
Owner

natevw commented Sep 24, 2014

Glad to hear it, sounds like this is resolved then.

@natevw natevw closed this as completed Sep 24, 2014
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

2 participants