Following this heroku tutorial to launch an app on heroku. But when I use the command heroku create
, it says it's not recognized. I added C:\Program Files\Heroku
to my PATH. How do I fix this?
You're probably using an old version or the deprecated package 'heroku-cli'
. The new one is just called 'heroku' Uninstall that by
npm uninstall -g heroku-cli
Then install the new package
npm i -g heroku
And now all your works will go perfectly.Just try heroku login
and any other heroku
command.
Credit: https://github.com/heroku/cli/issues/855#issuecomment-394758388
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With