isaacs/npm — Issue #1518: `npm info .` causes weird error
Author: thejh
Created: 2011-10-08 20:34:15+00:00
State: open

$ npm info .
npm ERR! TypeError: Cannot call method 'hasOwnProperty' of undefined
npm ERR! at /usr/local/lib/node_modules/npm/lib/view.js:61:27
npm ERR! at saved (/usr/local/lib/node_modules/npm/lib/utils/npm-registry-client/get.js:136:7)
npm ERR! at Object.cb [as oncomplete] (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:36:9)
npm ERR! Report this *entire* log at:
npm ERR!
npm ERR! or email it to:
npm ERR!
npm ERR!
npm ERR! System Linux 2.6.40.4-5.fc15.i686
npm ERR! command "node" "/usr/local/bin/npm" "info" "."
npm ERR! cwd /home/jann/gitty/dnode
npm ERR! node -v v0.5.8
npm ERR! npm -v 1.0.93
npm ERR! type non_object_property_call
npm ERR! arguments [ 'hasOwnProperty', undefined ]
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/jann/gitty/dnode/npm-debug.log
npm not ok