Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
I mean... why not?
Not like I haven't ever committed node_modules due to some circumstances. -
@SortOfTested It's a weird choice and I would wonder how it happened but if they just started a project maybe they meant to just replace it and forgot a step.
-
@N00bPancakes
That just means you're not checking your stage before committing. Definitely shame on you 😋 -
@SortOfTested If I'm just starting out a new repository and etc... yeah I might dork that up... but the actual consequences from it are near 0.
-
@N00bPancakes
I think I've experienced the worst of it; I went on vacation and came back to find that everything has gone lord of the flies. They'd spent a week trying to figure out why the build server wasn't producing artifacts containing the new code and everything was failing.
Turns out, someone in my absence had checked in a delete on gitignore, and then the next person checked in cached local build artifacts. This then resulted in propagating to the CI and the CI ended up with broken symbols in test so nothing moved forward. I wish they would have bothered me. -
@SortOfTested yeah if you've got one new repo you just made dorked up ... whatever.
Once it starts hitting other tools, time to call in the troops.
Related Rants
I don’t know why/how, but some guy in my team put the node_modules folder on GitHub.
This person ran *npx create-react-app* and for whatever reason probably DELETED the .gitignore.
I had to fix it of course, and in the meanwhile I forgot to switch branches before changing everything, making git crash because switching branches with +4 million lines of code deleted was too much.
Why don't they let experienced front-end devs initialize projects? I don’t understand.
rant
node_modules
node
frontend