cli icon indicating copy to clipboard operation
cli copied to clipboard

"Invalid argument" on Windows 7

Open JimmyRare opened this issue 10 years ago • 3 comments

No matter which heroku command I run I get this error:

Heroku client internal error.
Invalid argument - "C:\Users\jimmy.engstrom\AppData\Local/heroku/heroku-cli.exe" commands --json
C:/Program Files (x86)/Heroku/lib/heroku/jsplugin.rb:88:in ``'
C:/Program Files (x86)/Heroku/lib/heroku/jsplugin.rb:88:in `commands_info'
C:/Program Files (x86)/Heroku/lib/heroku/jsplugin.rb:60:in `commands'
C:/Program Files (x86)/Heroku/lib/heroku/jsplugin.rb:227:in `find_command'
C:/Program Files (x86)/Heroku/lib/heroku/jsplugin.rb:13:in `try_takeover'
C:/Program Files (x86)/Heroku/lib/heroku/cli.rb:28:in `start'
C:/Program Files (x86)/Heroku/bin/heroku:29:in `<main>'

JimmyRare avatar Mar 22 '16 08:03 JimmyRare

@JimmyRare What happens when you run the following command manually? Also do you have any restrictions on executables on your %LOCALAPPDATA% directory? Which in your case appears to be C:\Users\jimmy.engstrom\AppData\Local .

"C:\Users\jimmy.engstrom\AppData\Local/heroku/heroku-cli.exe" commands --json

ransombriggs avatar Mar 22 '16 15:03 ransombriggs

@JimmyRare Are you running BitDefender antivirus software, a user encountered an error like this who had BitDefender installed, which started blocking this executable.

ransombriggs avatar Apr 05 '16 20:04 ransombriggs

Closing, but let us know if this is still an issue for you by reopening the ticket.

RasPhilCo avatar Oct 04 '17 20:10 RasPhilCo