cykod / Quintus

HTML5 Game Engine
http://html5quintus.com
GNU General Public License v2.0
1.41k stars 400 forks source link

npm installing issue #43

Closed alexche8 closed 11 years ago

alexche8 commented 11 years ago

When I trying 'npm install' have the errors:

Error: Using '>' with 0.x.x makes no sense. Don't do it. npm ERR! at /usr/share/npm/lib/utils/semver.js:94:29 npm ERR! at String.replace (native) npm ERR! at replaceXRange (/usr/share/npm/lib/utils/semver.js:88:25) npm ERR! at Array.map (native) npm ERR! at replaceXRanges (/usr/share/npm/lib/utils/semver.js:84:17) npm ERR! at Array.map (native) npm ERR! at toComparators (/usr/share/npm/lib/utils/semver.js:66:8) npm ERR! at Object.validRange (/usr/share/npm/lib/utils/semver.js:138:11) npm ERR! at install_ (/usr/share/npm/lib/install.js:103:22) npm ERR! at /usr/share/npm/lib/install.js:77:5 npm ERR! Report this entire log at http://github.com/isaacs/npm/issues npm ERR! or email it to npm-@googlegroups.com npm ERR! Just tweeting a tiny part of the error will not be helpful. npm not ok

npm verstion : 0.2.19 ubuntu verstion: 11.10

nanodeath commented 11 years ago

Was this your package.json or Quintus's? I don't see "> 0.x.x" in Quintus's package.json...

cykod commented 11 years ago

Just ran "npm install" on a fresh master on a fresh ubuntu install w/ the latest node (0.10.9) and npm (1.2.24) installed - not sure where this is coming from - please reopen if you've got some more details.

mbrioski commented 11 years ago

I clone Quintus just now and i find this errors when i run "npm install" npm http GET https://registry.npmjs.org/grunt npm http GET https://registry.npmjs.org/optimist npm http GET https://registry.npmjs.org/grunt-contrib-jshint npm http GET https://registry.npmjs.org/grunt-docco npm http GET https://registry.npmjs.org/grunt-contrib-connect npm http GET https://registry.npmjs.org/grunt-contrib-uglify npm http GET https://registry.npmjs.org/stylus npm http GET https://registry.npmjs.org/jade npm http GET https://registry.npmjs.org/grunt-contrib-jasmine npm http GET https://registry.npmjs.org/grunt-contrib-concat npm http GET https://registry.npmjs.org/temporary npm http 304 https://registry.npmjs.org/grunt-docco npm http GET https://registry.npmjs.org/grunt-docco/-/grunt-docco-0.2.0.tgz npm http 304 https://registry.npmjs.org/grunt-contrib-connect

npm ERR! Error: No compatible version found: grunt-contrib-connect@'>=0.2.0' 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 /var/www/Quintus/npm-debug.log npm npm ERR! npm ERR! System Linux 3.2.0-48-generic npm ERR! command "node" "/usr/bin/npm" "install" npm ERR! cwd /var/www/Quintus npm ERR! node -v v0.6.12 npm ERR! npm -v 1.1.4 npm ERR! message No compatible version found: grunt-contrib-connect@'>=0.2.0' 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! /var/www/Quintus/npm-debug.log npm not ok

What's version do you suggest or is right?