Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

npm install failes without package.json #4

dresende opened this Issue Sep 1, 2011 · 3 comments


None yet
4 participants

dresende commented Sep 1, 2011

If I clone the repo and make an install using it, it's ok. If using npm directly:

npm ERR! couldn't read package.json in .
npm ERR! Error installing .
npm ERR! Error: ENOENT, No such file or directory 'package.json'

tj commented Sep 1, 2011

that's weird, works fine for me

itwars commented Sep 7, 2011

Same for me :

npm install

npm ERR! Couldn't read dependencies.
npm ERR! Error: ENOENT, No such file or directory '/home/user/package.json'
npm ERR! Report this entire log at:
npm ERR! http://github.com/isaacs/npm/issues

Same issue for me. is there any reason?. Also, i didn't specify the folder to find the file. But it always point to "/home/dev001". which is my home folder on ubuntu/=.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment