LionelHutz

LionelHutz

I’m still relatively new to Elixir and programming in general, so apologies if this is a basic mistake.

I am trying to upgrade to Elixir 1.13.2 (and then also will upgrade Phoenix and LiveView) on Windows.

N.B. - I’ve tried this on two different Windows 10 machines, both had Elixir originally installed via chocolatey. Both machines got the same result when trying to install with the web installer, as described below.

Previously, I used chocolatey as recommended - but their latest version (the one sat on my machine) is well out of date - 1.11.2.

So, instead, I used the web installer for Windows

Clicked through the recommended settings, and it seemed to have installed fine. And indeed, the little Erlang-Elixir emulator app is present, and when you run it, it shows Elixer v. 1.13.2.

But in my Windows PowerShell, elixir -v still says 1.11.2?? I tried uninstalling Elixir via chocolatey, and reinstalling via the web installer. This time, PowerShell doesn’t detect Elixir at all? Other attempts to coax the elixir version out of it, or use it all say that the latest version is that which chocolatey installed ages ago.

So, it seems to be using whatever chocolatey has done as the law, and ignoring whatever the web installer has done, even though it does seem to have installed something - put all the files on the system, the emulator app works, etc.

I must be doing something wrong/not understanding a basic thing about installing things, since it’s happened on two separate Windows machines?

But I’ve googled a lot, and come up with nothing. In the meantime, I’m totally stuck and can’t move forward.

Any help you could give thus would really be appreciated!

Thanks very much, indeed

Showing Posts 1 to 1

LionelHutz

LionelHutz OP

Looking at the sequences in the installer, it seems to want to install a folder in C:\Program Files called erl10.7

There is already a folder there called erl10.5, which dates back to 2019. I’m guessing this was put there by chocolatey (but can’t be sure)? If I delete erl10.5 and do elixir --version, it throws this error:

Cannot find file at ‘c:\program files/erl10.5/erts-10.5/bin/erl.exe’ (c:\program files\erl10.5\erts-10.5\bin\erl.exe). This usually indicates a missing or moved file.

Even though erl10.7 is there - if that’s any further clue/confirmation as to what’s happening. Thanks again!

— All posts loaded —

Where Next? Top

Trending in Questions Top

RSP87
I’m working on a project that simulates the bumbl example in the programming phoenix book. It acts almost like an email client. We have a...
New
nseaSeb
Hello, I know there is an approach for handling lists that allows for optimized traversal, but I can’t recall the specific method (somet...
New
kpanic
Hi everyone, I am toying with the idea of building a “match maker” for giving personal help to people that wants to start coding. I sta...
New
brecabral
Documentation While reading the Scoped Routes section, I noticed that the documentation currently refers to a problem without explainin...
New
velrest
So my question is quite simple and i have found no conclusive answer on forum, google or AI. Should we use :erlang.float for Integer to ...
New
asweet-confluent
I recently noticed that Elixir’s Logger defaults its primary log level to :debug when no :logger, :level application configuration is pre...
New
samoloth
Hi, I’ve just set up an application with ash_authentication. There is only magic link strategy for now, so there is no confirmation add o...
New

Other Trending Topics Top

JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
New
mhanberg
Hi everyone! The first release candidate for the Expert language server project is now available! We’ve published a press release detai...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Dmk
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New

Latest on Elixir Forum

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews