Should I check in folder “node_modules” to Git when creating a Node.js app on Heroku?
I followed the basic getting started instructions for Node.js on Heroku here: https://devcenter.heroku.com/categories/nodejs These instruction don’t tell you to create a .gitignore node_modules, and therefore imply that folder node_modules should be checked in to Git. When I included node_modules in Git repository, my getting started application ran correctly. When I followed the more advanced example … Read more