I am trying to update the Heroku CLI, however, without success.
Current version of Heroku CLI is
heroku-cli/6.15.5-1f03166 (win32-x64) node-v9.3.0
When running
heroku update
I get the following error
C:\>heroku update
CLI is updating... !
! 'ELOCK': write lock exists: update
I didnt' find any solution to this problem so far as I am hesitating to just uninstall and re-install the Heroku CLI (all my configs are lost then).
Not sure what the cause of this was but restarting solved the issue for me. Good luck!
I had the same problem and I solved removing this file:
/Users/YOUR_USER/Library/Caches/heroku/update.lock
I use mac, but I guess you will have same file in a similar location
I had the same problem on the Mac - solved it by running
htop
, filtering byheroku
and killing all processes.TLDR; kill running Heroku processes
I also had the same problem and solved it by removing error.log from the following directory in Windows 10: C:\Users\Behzad.heroku\error.log
I solved this problem by uninstalling heroku and installing via command line:
npm install -g heroku
So I got the most current version.