cli
cli copied to clipboard
Running `heroku --version` gives `/usr/local/lib/heroku/bin/node: No such file or directory` as output
I downloaded heroku cli installation tarball from official site.
Extracted it to /usr/local/lib.
Made a symlink to /usr/local/lib/heroku/bin/heroku at /usr/local/bin/heroku.
After that when I run the command heroku --version
I am getting /usr/local/bin/heroku: line 44: /usr/local/lib/heroku/bin/node: No such file or directory this output.
Also ls /usr/local/lib/heroku/bin/ shows something named node in it.
I am using a raspberry pi 4 with 64bit Ubuntu server 20.04 with a gnome DE. I also have node installed.
By reviewing the standalone installation script I was able to figure out the solution.
You simply have to delete that something named node aka /usr/local/lib/heroku/bin/node and it works.
Tho I'm getting an error when I'm trying to run heroku update. The mentioned command gives a NoSuchKey found error.