sh: 1: nodemon: not found heroku
Here`s what worked for me: In your Heroku app, go to Settings, then click Reveal Config Vars and then add a new record with KEY NPM_CONFIG_PRODUCTION and Value false.
sh: 1: nodemon: not found
npm install nodemon --save-dev
zsh: command not found: nodemon
npm config set prefix /usr/local sudo npm install nodemon -g --registry=https://registry.npm.taobao.org 12
Source: www.programmersought.com