Hello people, I was planning to update my Erlang and elixir versions. For that, I just removed the older versions I had and then installed the newer versions of Erlang and Elixir. Now the problem is afterward (after updating PATH) when I run erl on the command line I got this error:
Cannot find file at 'c:\program files\erlang otp\erts-13.1.3\bin\erl.exe' (c:\program files\erlang otp\erts-13.1.3\bin\erl.exe). This usually indicates a missing or moved file.
I decided to remove everything elixir and erlang related, I uninstalled both of them, I removed elixir and erlang from PATH and I also made sure I removed them from Registry Editor and restarted the computer. Despite all that I still get the same error when running erl on command line or powershell. What could be the issue there?
You’ve completely removed it and you’re getting that error? That error seems to think some things are still around.
You’ve restarted your shell since removing it? There isn’t some shortcut laying around is there? Did you use the uninstaller or delete things manually? Are there files in c:/program files/Erlang otp? Did you kill your editor, epmd etc before uninstalling?
I restarted whole computer and yes the shell too. I uninstalled erlang from control panel. There is nothing in c:/program files/Erlang otp (more importantly there is no var in PATH that is leading there). No editor was open before removing erlang.
I figured it out, it was the shimi file (or whatever it is called) added by chocolatey. I found it by searching for anything that matched the keywords: erlang and erl. Removed it manually and then installed the erlang and elixir again, works just fine now.