heroku / legacy-cli

Heroku CLI
https://cli.heroku.com
MIT License
1.37k stars 382 forks source link

Error updating heroku cli on windows #2045

Open carduque opened 7 years ago

carduque commented 7 years ago

heroku-cli: Installing CLI... 18.53MB/18.53MB ! Heroku client internal error. ! Search for help at: https://help.heroku.com ! Or report a bug at: https://github.com/heroku/heroku/issues/new

Error:       Permission denied @ rb_sysopen - C:\Users\cduquemarcos\AppData\Local/heroku/cli/lib/node.exe (Errno::EACCES)
Command:     heroku pg:psql
Version:     heroku/toolbelt/3.43.9 (i386-mingw32) ruby/2.1.7
Error ID:    89b9940dd4ed4da89c44a0963f48d64b

More information in C:/Users/cduquemarcos/.heroku/error.log

CAT error.log: Heroku client internal error. Permission denied @ rb_sysopen - C:\Users\cduquemarcos\AppData\Local/heroku/cli/lib/node.exe C:/Users/cduquemarcos/.heroku/client/lib/heroku/jsplugin.rb:179:in initialize' C:/Users/cduquemarcos/.heroku/client/lib/heroku/jsplugin.rb:179:inopen' C:/Users/cduquemarcos/.heroku/client/lib/heroku/jsplugin.rb:179:in block (4 levels) in setup' C:/Program Files (x86)/Heroku/ruby-2.1.7/lib/ruby/2.1.0/rubygems/package/tar_reader.rb:64:ineach' C:/Users/cduquemarcos/.heroku/client/lib/heroku/jsplugin.rb:170:in block (3 levels) in setup' C:/Program Files (x86)/Heroku/ruby-2.1.7/lib/ruby/2.1.0/rubygems/package/tar_reader.rb:28:innew' C:/Users/cduquemarcos/.heroku/client/lib/heroku/jsplugin.rb:168:in block (2 levels) in setup' C:/Users/cduquemarcos/.heroku/client/lib/heroku/jsplugin.rb:167:inopen' C:/Users/cduquemarcos/.heroku/client/lib/heroku/jsplugin.rb:167:in block in setup' C:/Program Files (x86)/Heroku/ruby-2.1.7/lib/ruby/2.1.0/tmpdir.rb:88:inmktmpdir' C:/Users/cduquemarcos/.heroku/client/lib/heroku/jsplugin.rb:135:in setup' C:/Users/cduquemarcos/.heroku/client/lib/heroku/cli.rb:27:instart' C:/Program Files (x86)/Heroku/bin/heroku:29:in `

'

jdx commented 7 years ago

This is likely a problem with your antivirus

carduque commented 7 years ago

I'm fixing it removing folder C:\Users\cduquemarcos\AppData\Local\heroku But it is happening once-twice a week. Very Annoying.

ransombriggs commented 7 years ago

@carduque what antivirus software are you using?

carduque commented 7 years ago

Sophos

wooyek commented 7 years ago

This also happens when antivirus is disabled