I work on a React Native app that's old enough to remember when class components were the default. Some packages in node_modules/ have been edited by hand — not patched, not forked, literally opened in a text editor and saved. The "fixes" have been there for years. Nobody kept track of which files. And whenever we onboard a new dev, we hand them a 250 MB .rar of the entire node_modules/ folder, because running yarn install would wipe everything out.
Our setup runs like an old lady. Not in a mean way — it works, it gets to the store and back, it just shouldn't be doing what it's doing in 2026. We have a postinstall hook that mostly works on prayer. We have a Confluence page from 2021 that lists "which packages are safe to reinstall." Half the packages on that list no longer exist.
Somewhere in the last few years, 12+ packages accumulated hand-edits. Some are one-liners. Some are entire sections of code commented out or rewritten. The senior dev who