larshei

larshei

No preset version installed for command livebook

I have recently update my elixir version to 1.13.2-otp-24 through asdf.

On trying to run a livebook, it told me no livebook was found
so i ran

mix escript.install hex livebook 

which printed a warning that an old livebook variable in my path is overwritten,
cause I had previously added livebook when I was running the older elixir version.

Running the server

livebook server

results in

No preset version installed for command livebook
Please install a version by running one of the following:

asdf install elixir 1.13.2-otp-24

or add one of the following versions in your config file at ~/.tool-versions
elixir 1.12.2-otp-24

That is odd, cause checking the elixir version returns

git:(master) ✗ asdf which elixir
~/.asdf/installs/elixir/1.13.2-otp-24/bin/elixir

which should be perfectly fine.

Something is probably misconfigured, but I am not sure what it is.
Do you have an idea?

Marked As Solved

soup

soup

Have you tried a opening a new shell? You may have to run asdf reshim?

Also Liked

larshei

larshei

Yes I reopened the terminal.
asdf reshim was the solution, thanks.

Last Post!

larshei

larshei

Yes I reopened the terminal.
asdf reshim was the solution, thanks.

Where Next?

Popular in Questions Top

electic
Hi, I am new to Elixir. I am trying to use the DateTime component to insert a date into MySQL however the there seems to be no way to fo...
New
JeremM34
Hello, how can I check the Phoenix version ? Thanks !
New
Emily
I have VueJS GUIs with the project generated using Webpack. I have Elixir modules that will need to be used by the VueJS GUIs. I forese...
New
ovidiubadita
Hey all, I discovered Elixir and I love it. I always wanted to learn a functional programming and I intended to go for Haskell, but afte...
New
greenz1
I have a phoenix application from which a user can download multiple(5-6) files of size 1MB. I couldn’t find anything related to sending ...
New
bsollish-terakeet
Credo is smart enough to check for (something like) this: assert length(the_list) == 0 with this response: Checking if an enum is empt...
New
dblack
I’ve got an issue with an app and I’ve no idea of how to troubleshoot it. I’m hoping someone here might have seen something similar. I p...
New

Other popular topics Top

electic
Hi, I am new to Elixir. I am trying to use the DateTime component to insert a date into MySQL however the there seems to be no way to fo...
New
gshaw
What is the idiomatic way of matching for not nil in Elixir? E.g., First way: defp halt_if_not_signed_in(conn, signed_in_account) when...
New
axelson
This post is a wiki (feel free to hit the edit button near the bottom right of this post to add your own changes!) This post collects co...
239 49084 226
New
alice
Hey, Just curious what are the main benefits of Elixir compared to Clojure? When is Elixir more useful than Clojure and vice versa? Th...
New
romenigld
I am trying to run a deploy with docker and I successfully runned with this command: docker build -t romenigld/blog-prod . but when I t...
New
TunkShif
This post is an instruction guide to help you setup your Neovim for Elixir development from scratch. It includes general information on h...
274 42533 114
New

We're in Beta

About us Mission Statement