This is not a bug in node or npm, and not something that can be realistically fixed in npm, without changing it in a very fundamental way.
I'm all too familiar with the annoying error you're encountering. The "specific software you're using that is built on .NET" should do the same thing that Node does, and use the UNC equivalents for long path names. Or, you can maintain your node_modules folders manually. It's not really *that* hard. The pattern is pretty simple. http://api.nodejs.org/modules.html On Thu, Oct 18, 2012 at 3:06 PM, Bradley Meck <[email protected]> wrote: > 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 [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en -- 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
