[nodejs] git dependency of dependeny not installed in deep node_modules

2013-07-11 Thread Marco Rogers
Assuming the C dependency is the same or compatible version between A and B, then this is working as expected. npm knows how to resolve recursive dependencies such that they are not duplicated. If A and B depended on different versions of C, then you would be both of those as you originally exp

[nodejs] git dependency of dependeny not installed in deep node_modules

2013-07-11 Thread Maxim Yefremov
I got module *A* that depending on module *B* by git dependency and module * B* depending on module *C*. At the same time module *A* depends on module *C * by git dependency. When I do *npm install *for *A* it install *B* and *C*in *node_modules *but in *A/node_modules/B/node_modules* I do not see