When using node.js with Windows-based projects, it's recommended that you use an npm package such as flatten-packages
to prevent directory depth from getting out of control. This is because Windows has a MAX_PATH limitation: https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx#maxpath
https://github.com/Microsoft/nodejstools/issues/69
Are there potential problems of node_modules folder nesting growing out of control in OSX? This question is more about contrasting development between Windows and OSX in Node.js