jansmolders86 / mediacenterjs

A HTML/CSS/Javascript (NodeJS) based Media center
http://mediacenterjs.com
1.29k stars 243 forks source link

File structure on windows machines #119

Closed Karnith closed 9 years ago

Karnith commented 10 years ago

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 :)

jansmolders86 commented 10 years ago

Great tip Karnith,

I will definitely put it on my trello todo list! Seems like a quick win for the project. Thanks!

hoffi commented 10 years ago

Is there a limit at how long a file path can be in windows?

Karnith commented 10 years ago

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.

hoffi commented 10 years ago

Whoa good to know

jansmolders86 commented 9 years ago

Ive actually been running into this problem now. :) Moving this up the priority list!