isaacs/npm — Issue #2077: after express install cannot explore source of express
Author: supsup
Created: 2012-01-23 02:37:41+00:00
State: open

xubuntu current release
node: 0.6.8
npm: 1.1.0-2

1. ran command:
sudo npm install -g express

output:

npm http GET https://registry.npmjs.org/express
npm http 200 https://registry.npmjs.org/express
npm http GET https://registry.npmjs.org/express/-/express-2.5.6.tgz
npm http 200 https://registry.npmjs.org/express/-/express-2.5.6.tgz
npm http GET https://registry.npmjs.org/connect
npm http GET https://registry.npmjs.org/qs
npm http GET https://registry.npmjs.org/mime
npm http GET https://registry.npmjs.org/mkdirp/0.0.7
npm http 304 https://registry.npmjs.org/mime
npm http 200 https://registry.npmjs.org/qs
npm http GET https://registry.npmjs.org/qs/-/qs-0.4.0.tgz
npm http 200 https://registry.npmjs.org/mkdirp/0.0.7
npm http GET https://registry.npmjs.org/mkdirp/-/mkdirp-0.0.7.tgz
npm http 200 https://registry.npmjs.org/connect
npm http GET https://registry.npmjs.org/connect/-/connect-1.8.5.tgz
npm http 200 https://registry.npmjs.org/qs/-/qs-0.4.0.tgz
npm http 200 https://registry.npmjs.org/mkdirp/-/mkdirp-0.0.7.tgz
npm http 200 https://registry.npmjs.org/connect/-/connect-1.8.5.tgz
npm http GET https://registry.npmjs.org/formidable
npm http 200 https://registry.npmjs.org/formidable
npm http GET https://registry.npmjs.org/formidable/-/formidable-1.0.8.tgz
npm http 200 https://registry.npmjs.org/formidable/-/formidable-1.0.8.tgz
/usr/local/bin/express -> /usr/local/lib/node_modules/express/bin/express
express@2.5.6 /usr/local/lib/node_modules/express
├── mkdirp@0.0.7
├── qs@0.4.0
├── mime@1.2.4
└── connect@1.8.5

2. run command:
npm explore express
npm ERR! Error: It doesn't look like express is installed.
npm ERR! at Object.oncomplete (/usr/local/lib/node_modules/npm/lib/explore.js:23:43)
npm ERR! You may report this log at:
npm ERR!
npm ERR! or email it to:
npm ERR!
npm ERR!
npm ERR! System Linux 3.0.0-15-generic
npm ERR! command "node" "/usr/local/bin/npm" "explore" "express"
npm ERR! cwd /home/xxtt/node_modules
npm ERR! node -v v0.6.8
npm ERR! npm -v 1.1.0-2
npm ERR! message It doesn't look like express is installed.
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/xxtt/node_modules/npm-debug.log
npm not ok

logfile mentioned has same info.

Just going over Node in Action and this is in the second chapter.