Search code examples
herokuheroku-toolbelt

git push to Heroku is rejected


Even though I'm doing a clean build

heroku repo:purge_cache -a redrum-js-client

Git push to Heroku fails with

Push rejected, failed to compile Node.js app

Full log file is here

Really appreciate if you have any ideas. Thanks


Solution

  • Adding nodejs and npm version fixed the problem.

    "engines": {
    "node": "0.12.7",
    "npm": "2.14.4"
    

    }