isaacs/npm — Issue #1902: couldn't read package.json in .
Author: pelshoff
Created: 2011-12-19 20:56:29+00:00
State: open

Hi there,

I executed

~$ npm install -g coffee-script

and got:

npm ERR! couldn't read package.json in .
npm ERR! Error installing .
npm ERR! Error: ENOENT, No such file or directory 'package.json'
npm ERR! Report this *entire* log at
npm ERR! or email it to
npm ERR! Just tweeting a tiny part of the error will not be helpful.
npm not ok

When I ran without the -g argument it worked fine. I hope this is helpful :) Thanks for all your hard work.

Pim