isaacs/npm — Issue #1535: ERR! Error: Not found: phantom@''
Author: orangedude
Created: 2011-10-11 19:29:45+00:00
State: open

Hi,
I'm seeing the following error.log when I run the following command: npm install phantom. I'm trying to install the node-phantomjs module. Thanks in advance!

info it worked if it ends with ok
verbose cli [ 'node', '/usr/local/bin/npm', 'install', 'phantom' ]
info using npm@1.0.94
info using node@v0.5.10-pre
verbose config file /home/ed/.npmrc
verbose config file /usr/local/etc/npmrc
verbose into /home/ed/phantomjs [ 'phantom' ]
verbose cache add phantom
verbose cache add [ 'phantom', null ]
silly cache add: name, spec, args [ undefined, 'phantom', [ 'phantom', null ] ]
verbose parsed url { pathname: 'phantom', href: 'phantom' }
info addNamed [ 'phantom', '' ]
verbose addNamed [ null, '' ]
verbose GET phantom
verbose raw, before any munging phantom
verbose url resolving [ 'https://registry.npmjs.org/', './phantom' ]
verbose url resolved https://registry.npmjs.org/phantom
verbose etag "F0DHJRFYK295TRFK12X7PGKT1"
silly get cb [ 304,
silly get cb { server: 'CouchDB/1.1.0 (Erlang OTP/R14B03)',
silly get cb etag: '"F0DHJRFYK295TRFK12X7PGKT1"',
silly get cb date: 'Tue, 11 Oct 2011 19:22:25 GMT',
silly get cb 'content-length': '0' } ]
verbose etag phantom from cache
ERR! Error: Not found: phantom@''
ERR! Valid install targets:
ERR! ["latest"]
ERR! at installTargetsError (/usr/local/lib/node_modules/npm/lib/cache.js:412:10)
ERR! at /usr/local/lib/node_modules/npm/lib/cache.js:405:17
ERR! at saved (/usr/local/lib/node_modules/npm/lib/utils/npm-registry-client/get.js:136:7)
ERR! at Object.cb [as oncomplete] (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:36:9)
ERR! Report this *entire* log at:
ERR!
ERR! or email it to:
ERR!
ERR!
ERR! System Linux 2.6.38-11-generic
ERR! command "node" "/usr/local/bin/npm" "install" "phantom"
ERR! cwd /home/ed/phantomjs
ERR! node -v v0.5.10-pre
ERR! npm -v 1.0.94
verbose exit [ 1, true ]