Open alexauritt opened 8 years ago
You need write access to that directory that is in the error message. Make sure you are the owner of it and/or the parent directory and you've given it user write permission.
If you are installing heroku
with homebrew
rather than downloading the CLI from the heroku website. Just chmod 600
to the folder specified when you got the error. That solved the problem for me
I've been having trouble with the Heroku CLI for several days now. I've tried uninstalling and reinstalling several times. Have tried installing through homebrew, as well as installing the Heroku Toolbelt. And I've made sure to fully uninstall before trying again, following uninstall directions posted at: https://devcenter.heroku.com/articles/heroku-command#uninstalling-the-heroku-cli
When I download the toolbelt, and then run
heroku --version
, I'm getting the following error:➝ heroku --version heroku-cli: Installing CLI... 20.39MB/20.39MB ! Heroku client internal error. ! Search for help at: https://help.heroku.com ! Or report a bug at: https://github.com/heroku/heroku/issues/new
When I installed through Homebrew a few days ago, and I was able to get the cli to install after changing permission on a file somewhere (can't recal which one). However today autoupdate failed, also due to a permissions issue.
Can you advise. To the best of my knowledge, I am not running any antivirus software, and haven't restricted any permissions settings on my machine.
Please advise. Work has come to a standstill and I'm quite frustrated.
Thanks in advance