substack/node-optimist — Issue #36: Can't install optimist
Author: pierresas
Created: 2011-10-20 01:28:13+00:00
State: open

I can't install 'optimist'. I might be wrong but it looks like there is a problem with the 'wordwrap' dependency in the 'optimist' package.json line #12. Could you please fix it? Thanks!

$ npm install optimist
npm info it worked if it ends with ok
npm info using npm@0.2.19
npm info using node@v0.4.12
npm info preinstall optimist@0.2.6
npm ERR! Error: Using '<' with 0.1.x makes no sense. Don't do it.
npm ERR! at /usr/lib/node/.npm/npm/0.2.19/package/lib/utils/semver.js:94:29
npm ERR! at String.replace (native)
npm ERR! at replaceXRange (/usr/lib/node/.npm/npm/0.2.19/package/lib/utils/semver.js:88:25)
npm ERR! at Array.map (native)
npm ERR! at replaceXRanges (/usr/lib/node/.npm/npm/0.2.19/package/lib/utils/semver.js:84:17)
npm ERR! at Array.map (native)
npm ERR! at toComparators (/usr/lib/node/.npm/npm/0.2.19/package/lib/utils/semver.js:66:8)
npm ERR! at satisfies (/usr/lib/node/.npm/npm/0.2.19/package/lib/utils/semver.js:154:11)
npm ERR! at /usr/lib/node/.npm/npm/0.2.19/package/lib/utils/semver.js:147:35
npm ERR! at Array.filter (native)
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