I just upgraded to npm version 3 and noticed one of the biggest changes it made is that it enforces a flat dependency tree.
Your dependencies will now
This is what happens when I don’t get enough sleep. The obvious solution somehow escaped me.
$ cd node_modules/A/ $ npm install $ cd ../../