Can I Delete Node_Modules From Repo?

Can I Delete Node_Modules From Repo? First create a . gitignore file and add /node_modules to it. Then delete the node_modules folder and commit your changes . Should you exclude node_modules from git? Not committing node_modules implies you need to list all your modules in the package. json (and package-lock. json ) as a mandatory