Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

node_modules shouldn't be pushed #1

Open
BosEriko opened this issue Jan 8, 2020 · 0 comments
Open

node_modules shouldn't be pushed #1

BosEriko opened this issue Jan 8, 2020 · 0 comments

Comments

@BosEriko
Copy link

@BosEriko BosEriko commented Jan 8, 2020

They should be added to .gitignore.

I'm honestly surprised why GitHub doesn't have any automatic filters for the folder node_modules, but yeah, it shouldn't be pushed to your repository. This is the reason why devDependencies and dependencies are listed on package.json. So that if you pull your repository again, you can do npm install or yarn install to install the node_modules again.

Have a nice day! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.