isaacs/npm — Issue #1937: Having trouble installing dependencies
Author: kelper
Created: 2011-12-24 07:37:57+00:00
State: open

Hello, when I run the command, 'npm install -d', I get the following:
info it worked if it ends with ok
verbose cli [ 'node', '/usr/local/bin/npm', 'install', '-d' ]
info using npm@1.1.0-beta-4
info using node@v0.6.6
verbose config file /home/charlie/.npmrc
verbose config file /usr/local/etc/npmrc
verbose config file /usr/local/lib/node_modules/npm/npmrc
ERR! Couldn't read dependencies.
ERR! Error: ENOENT, no such file or directory '/var/www/nodetest/package.json'
ERR! Report this *entire* log at:
ERR!
ERR! or email it to:
ERR!
ERR!
ERR! System Linux 2.6.38-12-generic
ERR! command "node" "/usr/local/bin/npm" "install" "-d"
ERR! cwd /var/www/nodetest
ERR! node -v v0.6.6
ERR! npm -v 1.1.0-beta-4
ERR! path /var/www/nodetest/package.json
ERR! code ENOENT
ERR! message ENOENT, no such file or directory '/var/www/nodetest/package.json'
verbose exit [ 1, true ]

Am I supposed to have a file called package.json in my directory?