We're making changes to the Community, so you may have received some notifications - thanks for your patience and welcome back. Learn more here.

Forum Discussion

sebastian_'s avatar
sebastian_
Collaborator | Level 8
5 years ago

How to ignore node_modules folder (symlink / alias)

Due to a bug in the dropboxforum.com site :see_no_evil:, this solution has been re-posted here:   How to make Dropbox ignore node_modules folder with symbolic links (aliases)    :sunglasses:
  • sebastian_'s avatar
    sebastian_
    5 years ago

    Lusil, Thank you. Indeed, I have seen that thread and upvoted it under different usernames over the years, but the semi-solution stopped working recently, which was always unclear and painful to execute across all projects and all dev systems anyway. Yes, I can make a post over there referencing this one.

     
    I could not agree more that a .dropboxignore file is the most desirable solution, just like the .gitignore file, which is a simple and proven pattern already used by developers globally. Because it’s an invisible file, it would not confuse the general population of Dropbox users. A system-wide .dropboxignore or regex would be equally welcome.
     
    In that thread, the Swap-a-Roo Ignore hack (as I call it) is what I’ve done for years, but it was error prone and horridly painful to manage across ALL projects on ALL your personal dev systems. For some reason it stopped working recently due to a version update or something on my systems, resulting in an infinite loop hack-hell of conflicting folders, deleted folders, etc. The Swap-a-Roo Ignore was also impractical because if you just want to throw together a quick test project, you had to race through executing the multi-step Swap-a-Roo Ignore hack on all your systems to avoid the MASSIVE recurring syncs. So, I NEVER EVER put ANY test projects in Dropbox, which unfortunately resulted in not have them when I need them.
     
    That thread has gotten a lot of attention over the years along, plus posts on other forums which are confusing, hacks, or simply bad advice.
     
    Hopefully Dropbox will add a .dropboxignore feature. I would encourage the community of developers inside and outside of Dropbox to do everything possible, including a twirling dervish, to get this functionality. Its been too many years to .ignore ;-)
     
    In the meantime — I hope my post offers a quick straight forward solution for other developers with multiple systems who what to use Dropbox, but cannot.

About Create, upload, and share

Find help to solve issues with creating, uploading, and sharing files and folders in Dropbox. Get support and advice from the Dropbox Community.

Need more support

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!