Description
npm doesn't seem to recognize that node will search parent directories for node_modules as well and I'm thinking it probably should.
For example, if all the module dependencies are located in ../node_modules then node will happily run. But npm ls
will complain that dependencies are not met. And npm install will install all of the same modules in ./node_modules rather than recognizing that they exist in ../mode_modules.
Doc on node's behavior is at https://github.com/joyent/node/blob/master/doc/api/modules.markdown.
An example structure that uses parent directory package.json files is at https://github.com/codeparty/derby-examples.
At the very least I think npm ls should recognize that dependencies are met by the parent node_modules even if npm install is going to reinstall them.