Error: Cannot find module 'bcryptjs' - Deploying node app to heroku

I'm trying to deploy my node/express application to heroku and have been running into lots of problems and trying to work through them. The latest problem is simply Error: Cannot find module 'bcryptjs'. Now I have bcryptjs in my package.json file, and I've run npm install multiple times. Should I be pushing my node_modules folder to heroku as well (it's currently in my .gitignore)?

Hmm. Is package.json in the root of git repository you push to heroku? Do you have package.json in .gitignore, it should not be.

You can push your node_modules directory to heroku, by including it in the git repo, but I don't think this is what most people do.