Heroku bash: node: command not found Heroku bash: node: command not found express express

Heroku bash: node: command not found


What fixed it for me was to add the heroku/nodejs buildpack in heroku settings.


Old question, but, try adding an engines section to your package.json:

"engines": {    "node": ">= 6.9.4",    "npm": ">= 4.4.0"  }


First, ensure that your application is using the heroku/nodejs buildpack:

$ heroku buildpacks

  1. heroku/nodejs

If this is not the case then change your builpack to nodejs using :

$ heroku buildpacks: set heroku/nodejs

Image of terminal