isaacs/npm — Issue #1516: npm install -g doesn't work as expected
Author: nanodeath
Created: 2011-10-08 17:00:52+00:00
State: open

I'm trying to install all my dependencies in my package.json globally, but when I do, npm doesn't seem to resolve them globally.

My package.json looks like this https://gist.github.com/1272550#file_package.json and when I initially run npm ls, I get this https://gist.github.com/1272550#file_npm+ls . When I run npm install -g, I get this https://gist.github.com/1272550#file_npm+install+_g (occluding the bcrypt build logic), however npm ls still shows all the same unmet dependencies as before.

I don't get it -- did the install work correctly or not?