FredrikNoren / ungit

The easiest way to use git. On any platform. Anywhere.
MIT License
10.45k stars 640 forks source link

npm ERR! Error: No compatible version found: ungit #142

Closed SET001 closed 11 years ago

SET001 commented 11 years ago
set@set:~/www/pearsports-ui$ npm install -g ungit
npm http GET https://registry.npmjs.org/ungit
npm http 304 https://registry.npmjs.org/ungit

npm ERR! Error: No compatible version found: ungit
npm ERR! No valid targets found.
npm ERR! Perhaps not compatible with your version of node?
npm ERR!     at installTargetsError (/usr/share/npm/lib/cache.js:488:10)
npm ERR!     at next_ (/usr/share/npm/lib/cache.js:438:17)
npm ERR!     at next (/usr/share/npm/lib/cache.js:415:44)
npm ERR!     at /usr/share/npm/lib/cache.js:408:5
npm ERR!     at saved (/usr/share/npm/lib/utils/npm-registry-client/get.js:147:7)
npm ERR!     at Object.oncomplete (/usr/lib/nodejs/graceful-fs.js:230:7)
npm ERR! You may report this log at:
npm ERR!     <http://bugs.debian.org/npm>
npm ERR! or use
npm ERR!     reportbug --attach /home/set/www/pearsports-ui/npm-debug.log npm
npm ERR! 
npm ERR! System Linux 3.5.0-17-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "-g" "ungit"
npm ERR! cwd /home/set/www/pearsports-ui
npm ERR! node -v v0.6.19
npm ERR! npm -v 1.1.4
npm ERR! message No compatible version found: ungit
npm ERR! message No valid targets found.
npm ERR! message Perhaps not compatible with your version of node?
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /home/set/www/pearsports-ui/npm-debug.log
npm not ok
set@set:~/www/pearsports-ui$ nodejs -v
v0.6.19
set@set:~/www/pearsports-ui$ npm -v
1.1.4
villelahdenvuo commented 11 years ago

The package doesn't support Node versions < 0.10. You can try to see if it works by forcing the installation (--force switch), but it would be better to update your Node installation.

SET001 commented 11 years ago

but my nodejs version is v0.6.19

Ajedi32 commented 11 years ago

Yeah... so? That's still earlier than v0.10. :confused:

FredrikNoren commented 11 years ago

Closing this issue; You'll need to upgrade your node version to use ungit (if that doesn't help please re-open this issue).

nroose commented 11 years ago

Here is a list of tags for node, and those are the release numbers with dates. https://github.com/joyent/node/tags

0.1 and 0.10 are different in version-land!

The earliest version of 0.10 is 5 months old. 0.6.19 is 1 year old. The most recent 0.1 is 3 years old.

On Fri, Aug 23, 2013 at 3:44 PM, SET notifications@github.com wrote:

@Ajedi32 https://github.com/Ajedi32 so you say that 0.6 is earlier than 0.1?

— Reply to this email directly or view it on GitHubhttps://github.com/FredrikNoren/ungit/issues/142#issuecomment-23195822 .

SET001 commented 11 years ago

Sorry, my bad. I missed up .1 and 0.10 cuz mathematically they are same

Ajedi32 commented 11 years ago

@SET Ah, okay. Yeah, I'm pretty sure this project uses SemVer, so 0.10.0 and 0.1.0 are definitely different versions.