Skip to content

Instantly share code, notes, and snippets.

@ddewaele
Created March 31, 2014 15:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ddewaele/9894458 to your computer and use it in GitHub Desktop.
Save ddewaele/9894458 to your computer and use it in GitHub Desktop.
unclear why these npm "invalid targets" errors occur.
Davys-MacBook-Air:BackboneTest5 ddewaele$ npm install
npm WARN package.json backbonetest5@0.0.0 No README.md file found!
npm http GET https://registry.npmjs.org/grunt-contrib-imagemin
npm http 304 https://registry.npmjs.org/grunt-contrib-imagemin
npm http GET https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/image-min
npm http GET https://registry.npmjs.org/chalk
npm http GET https://registry.npmjs.org/mkdirp
npm http GET https://registry.npmjs.org/pretty-bytes
npm http 304 https://registry.npmjs.org/chalk
npm ERR! Error: No compatible version found: chalk@'^0.4.0'
npm ERR! Valid install targets:
npm ERR! ["0.1.0","0.1.1","0.2.0","0.2.1","0.3.0","0.4.0"]
npm ERR! at installTargetsError (/usr/local/lib/node_modules/npm/lib/cache.js:685:10)
npm ERR! at /usr/local/lib/node_modules/npm/lib/cache.js:607:10
npm ERR! at saved (/usr/local/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 Darwin 11.4.2
npm ERR! command "node" "/usr/local/bin/npm" "install"
npm ERR! cwd /Users/ddewaele/Projects/BackboneTest5
npm ERR! node -v v0.10.2
npm ERR! npm -v 1.2.15
npm http 304 https://registry.npmjs.org/mkdirp
npm http 304 https://registry.npmjs.org/async
npm http 304 https://registry.npmjs.org/image-min
npm http 304 https://registry.npmjs.org/pretty-bytes
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/ddewaele/Projects/BackboneTest5/npm-debug.log
npm ERR! not ok code 0
Davys-MacBook-Air:BackboneTest5 ddewaele$ npm install chalk@0.4.0
Davys-MacBook-Air:BackboneTest5 ddewaele$ npm install
npm WARN package.json backbonetest5@0.0.0 No README.md file found!
npm http GET https://registry.npmjs.org/grunt-contrib-imagemin
npm http 304 https://registry.npmjs.org/grunt-contrib-imagemin
npm http GET https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/chalk
npm http GET https://registry.npmjs.org/image-min
npm http GET https://registry.npmjs.org/mkdirp
npm http GET https://registry.npmjs.org/pretty-bytes
npm http 304 https://registry.npmjs.org/async
npm ERR! Error: No compatible version found: async@'^0.2.9'
npm ERR! Valid install targets:
npm ERR! ["0.1.0","0.1.1","0.1.2","0.1.3","0.1.4","0.1.5","0.1.6","0.1.7","0.1.8","0.1.9","0.1.10","0.1.11","0.1.12","0.1.13","0.1.14","0.1.15","0.1.16","0.1.17","0.1.18","0.1.19","0.1.20","0.1.21","0.1.22","0.2.0","0.2.1","0.2.2","0.2.3","0.2.4","0.2.5","0.2.6","0.2.7","0.2.8","0.2.9","0.2.10","0.3.0","0.4.0","0.4.1","0.5.0","0.6.0"]
npm ERR! at installTargetsError (/usr/local/lib/node_modules/npm/lib/cache.js:685:10)
npm ERR! at /usr/local/lib/node_modules/npm/lib/cache.js:607:10
npm ERR! at saved (/usr/local/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 Darwin 11.4.2
npm ERR! command "node" "/usr/local/bin/npm" "install"
npm ERR! cwd /Users/ddewaele/Projects/BackboneTest5
npm ERR! node -v v0.10.2
npm ERR! npm -v 1.2.15
npm http 304 https://registry.npmjs.org/image-min
npm http 304 https://registry.npmjs.org/pretty-bytes
npm http 304 https://registry.npmjs.org/mkdirp
npm http 304 https://registry.npmjs.org/chalk
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/ddewaele/Projects/BackboneTest5/npm-debug.log
npm ERR! not ok code 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment