Closed Karnith closed 9 years ago
Great tip Karnith,
I will definitely put it on my trello todo list! Seems like a quick win for the project. Thanks!
Is there a limit at how long a file path can be in windows?
Yes. 256 characters.
Sent via the Samsung GALAXY S® 5, an AT&T 4G LTE smartphone
-------- Original message -------- From: hoffi Date:07/06/2014 08:36 (GMT-08:00) To: jansmolders86/mediacenterjs Cc: Matthew Marino Subject: Re: [mediacenterjs] File structure on windows machines (#119)
Is there a limit at how long a file path can be in windows?
Reply to this email directly or view it on GitHubhttps://github.com/jansmolders86/mediacenterjs/issues/119#issuecomment-48114906.
Whoa good to know
Ive actually been running into this problem now. :) Moving this up the priority list!
this isn't an issue yet, more of a suggestion. I would use npm dedupe to flatten the dir structure as much as possible. In large apps with lots of dependencies / sub dependencies as the file path can easily exceed what windows is able to handle (I have learned this from experience). Using npm dedupe will cause the dir structure to be wider instead of deeper.
Just a tip :)