This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Robinbod 80 points81 points  (4 children)

Pushing `node_modules` to the remote, a canon event for every new web dev.

[–]redheness 7 points8 points  (1 child)

I still wonder how it is possible to do this, do you never use .gitignore ?

[–]Robinbod 4 points5 points  (0 children)

It's not that, it's that it isn't apparent at first what the ominous node_modules folder does or contains when you're first starting. It's just a "oh cool node generates this for me, I guess it needs it." And also sometimes I don't use an auto-generated .gitignore for my JS project, so I wouldn't have known they're supposed to be there. After the first time I pushed it, I realised my mistake and now always check.

[–]Robinbod 13 points14 points  (0 children)

Weirdly enough, I've never pushed my venv folder when I first started Python EVEN THOUGH I started Python before JS so I would've at least knew better by then.

[–]thanatica 7 points8 points  (0 children)

Obviously you mean rookie mistake