Marak/colors.js — Issue #24: Cannot install with npm
Author: viatropos
Created: 2012-03-03 23:10:39+00:00
State: open

Hey,

I'm trying to install the forever and hook.io modules, which use colors.js, but it looks like it's failing when it gets to installing colors.

From a directory folder:

```
$ npm install colors
npm http GET https://registry.npmjs.org/colors
npm http 304 https://registry.npmjs.org/colors
npm ERR! error installing colors@0.6.0-1

npm ERR! Error: ENOENT, no such file or directory '/Users/viatropos/Desktop/lance/node_modules/colors/package.json'
npm ERR! You may report this log at:
npm ERR!
npm ERR! or email it to:
npm ERR!
npm ERR!
npm ERR! System Darwin 10.7.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "colors"
npm ERR! cwd /Users/viatropos/Desktop/lance
npm ERR! node -v v0.6.11
npm ERR! npm -v 1.1.4
npm ERR! path /Users/viatropos/Desktop/lance/node_modules/colors/package.json
npm ERR! code ENOENT
npm ERR! message ENOENT, no such file or directory '/Users/viatropos/Desktop/lance/node_modules/colors/package.json'
npm ERR! errno {}
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/viatropos/Desktop/lance/npm-debug.log
npm not ok
```

- node -v v0.6.11
- npm -v 1.1.4

Is this because of the node/npm versions? Do you know how to fix this? Thanks for your help.