I am in the process of setting up a git repository and attempting to link it to Heroku. When I run the command
git push heroku master
I rec
Came across this same error when deploying a node app, but resolved with these two steps and thought I'd share in case anyone else runs into the same issues.
node_modules since heroku installs dependencies from package.json on push. Try adding node_modules/ to your .gitignore to ensure you don't accidentally commit it "devDependencies": {
"node-sass": "^4.12.0"
}