-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows setup thorw an error #13569
Comments
@wojtekmach, which check do we execute here? Maybe we can add the check we run in the error message? |
The error is raised here: https:/elixir-lang/elixir/blob/v1.16.2/lib/elixir/scripts/windows_installer/installer.nsi#L119 based on this check: https:/elixir-lang/elixir/blob/v1.16.2/lib/elixir/scripts/windows_installer/installer.nsi#L94:L96 It looks like you maybe have OTP 25 installed too so consider uninstalling it first. Though the installer should gracefully handle other installation. |
@yeshan333 can you try executing the commands above in your Erlang installation? Does it work? What does it return? |
After I uninstalled OTP 25, the installer can work normally. However, if I have multiple OTP versions installed on my machine at the same time, it seems that Elixir's installer cannot find them well. And OTP 25 installation path exists in the environment variable: |
Thank you for checking, this is really helpful. What is the installer version, i.e. Elixir version, you used? |
installer version is |
That's not enough information, which release (https:/elixir-lang/elixir/releases) did you download the installer from? |
this: https:/elixir-lang/elixir/releases/download/v1.16.3/elixir-otp-25.exe |
@yeshan333 in the meantime you can handle multiple versions using
|
Elixir and Erlang/OTP versions
elixir-otp-26.exe
Operating system
windows
Current behavior
when I click elixir-otp-26.exe to install Elixir. then throw an exception:
Expected behavior
No errors are thrown during installation.
The text was updated successfully, but these errors were encountered: