heroku / legacy-cli

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

CLI update has broken CLI #2057

Open jeffdill2 opened 7 years ago

jeffdill2 commented 7 years ago

Tried running heroku logs this morning and it automatically pushed an update:

heroku-cli: Updating to 6.8.0-e0f00ce... 12.6 MB/12.6 MB

During the update, this error occurred:

/Users/jeffrey-dill/.local/share/heroku/client/bin/heroku: line 21: /Users/jeffrey-dill/.local/share/heroku/client/bin/node: No such file or directory
/Users/jeffrey-dill/.local/share/heroku/client/bin/heroku: line 21: /Users/jeffrey-dill/.local/share/heroku/client/bin/node: No such file or directory

Any time I try to run the CLI now, the same error message pops up, preventing me from using it.

jdx commented 7 years ago

first, try reinstalling from cli.heroku.com. This may be an issue with 64/32-bit. Does that file actually exist?

chawarong commented 7 years ago

I have the same issue recently. The file doesn't exist.

/Users/songserm/.local/share/heroku/client/bin/heroku: line 21: /Users/songserm/.local/share/heroku/client/bin/node: No such file or directory
/Users/songserm/.local/share/heroku/client/bin/heroku: line 21: /Users/songserm/.local/share/heroku/client/bin/node: No such file or directory
Songserms-MacBook-Air:fingi-core2 songserm$ ls -l /Users/songserm/.local/share/heroku/client/bin/node
ls: /Users/songserm/.local/share/heroku/client/bin/node: No such file or directory

I have tried uninstall and reinstall from brew, but the issue still occurs.

jeffdill2 commented 7 years ago

@dickeyxxx I've tried reinstalling – no go. No, that file/directory does not exist.