Heroku bash: node: command not found
First, ensure that your application is using the heroku/nodejs buildpack:
$ heroku buildpacks
- heroku/nodejs
If this is not the case then change your builpack to nodejs using :
$ heroku buildpacks: set heroku/nodejs