1. npm dedup can help. 2. if that is not enough: all modules can reference parent module's node_modules, so if you recursively move all dirs into the root node_modules it should work.
a/node_modules/b/node_modules/c -> a/node_modules/c On Wednesday, October 17, 2012 1:07:54 PM UTC-5, Justin Beckwith wrote: > > Greetings folks, > I'm trying to use a module on Windows that has many dependencies. Many of > these dependencies have dependencies and the depth of node_modules > increases pretty quick. Generally this isn't a problem, unless you're > using Windows :) Windows (or specifically some of the software we're > building on Windows with .NET) doesn't really like file paths longer than > 260 characters. Is there a way to build a module where the deep level > dependencies are all stored at the root of it's node_modules directory? Or > am I stuck using the hierarchical model? > > Thanks! > -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en