nodejitsu/require-analyzer — Issue #44: Error parsing version numbers?
Author: gimenete
Created: 2012-02-28 17:22:49+00:00
State: open

Hi,

I just installed require-analyzer, then I installed "colors" into a project I am working at. Then I wanted to test require-analyzer so I run it, then I removed all the node_modules directory and run "npm install". Then there was an error trying to install colors:

npm ERR! command "node" "/usr/local/bin/npm" "install"
npm ERR! cwd /Users/gimenete/projects/dndzgz
npm ERR! node -v v0.6.8
npm ERR! npm -v 1.1.0-2
npm ERR! message No compatible version found: colors@'0.6.x.-1'
npm ERR! message Valid install targets:
npm ERR! message ["0.3.0","0.5.0","0.5.1","0.6.0","0.6.0-1"]

It seems that require-analyzer does not parse correctly the format "a.b.c-d".