Reputation: 484
Randomly my heroku toolbelt stopped working. I'm not sure why, but when I execute any heroku action, for example heroku -v
this happens:
➜ Homebrew heroku -v
heroku-cli: Adding dependencies... 2.57 MB/2.57 MB
2016/04/26 12:13:42 running npm from /Users/cowan/.heroku: /Users/cowan/.heroku/node-5.10.1-darwin-amd64/node /Users/cowan/.heroku/npm-3.8.5/cli.js -v --loglevel=info
ERROR: expected npm to equal v5.10.1
Note this particular example is after I used homebrew to uninstall and reinstall heroku.
Upvotes: 1
Views: 3414
Reputation: 52268
Just wanted to add that there's a built-in update command:
heroku update
(I was trying to update via homebrew until I realised I didn't need to and just ran heroku update
instead).
I found it via heroku --help
Upvotes: 0
Reputation: 484
Solution in 2 steps:
Upvotes: 1