zorglubb

zorglubb

Linux Mint 19 Elixir troubles

Hi all. I installed a fresh Mint 19 Cinnamon machine, Threadripper 1950x. I did the normal install developer tools and such. Then I went to elixir-lang.org and downloaded the .deb 64 bit, and did an install. Erlang 1:20.2.2+dfsg-1ubuntu2 is installed.

This is causing some issues, like

threadripper:~/forritun/elixir$ mix new myapp
** (Mix) Application name must start with a letter and have only lowercase letters, numbers and underscore, got: "myapp". The application name is inferred from the path, if you'd like to explicitly name the application then use the "--app APP" option.

and this one.

threadripper:~/forritun/elixir$ elixir --version
Erlang/OTP 20 [erts-9.2] [source] [64-bit] [smp:32:32] [ds:32:32:10] [async-threads:10] [kernel-poll:false]

{"init terminating in do_boot",{{badmatch,error},[{'Elixir.System',build,0,[{file,"lib/system.ex"},{line,172}]},{'Elixir.System',build_info,0,[{file,"lib/system.ex"},{line,164}]},{'Elixir.Kernel.CLI',parse_shared,2,[{file,"lib/kernel/cli.ex"},{line,153}]},{'Elixir.Kernel.CLI','shared_option?',3,[{file,"lib/kernel/cli.ex"},{line,113}]},{'Elixir.Kernel.CLI',main,1,[{file,"lib/kernel/cli.ex"},{line,14}]},{init,start_em,1,[]},{init,do_boot,3,[]}]}}
init terminating in do_boot ({{badmatch,error},[{Elixir.System,build,0,[{_},{_}]},{Elixir.System,build_info,0,[{_},{_}]},{Elixir.Kernel.CLI,parse_shared,2,[{_},{_}]},{Elixir.Kernel.CLI,shared_option?,

Crash dump is being written to: erl_crash.dump…done

Any help on this issue would be appreciated. Everything is straight from the box, MINT is updated, that is the only difference.

I seem to remember that you had to do some mix commands to get thing started, but I have not done so.

Most Liked

Eiji

Eiji

@zorglubb Why did you manually downloaded .deb file? Is not easier to install it from Erlang Solutions repo? Also if nothing else works and you just want to quickly install it then I recommend using asdf. It works same in all distributions. :077:

Eiji

Eiji

asdf allows you to easily install not only Erlang and Elixir, but also PostgreSQL and lots of other languages, databases and other tools. All of them are versioned and it’s trivial to switch between versions (of course having in mind that Elixir should be with same version of Erlang which it was compiled).

zorglubb

zorglubb

I will need to look into asdf, that is for sure.

I ditched Linux mint for Ubuntu 18.04 and everything just works great. No more problems. Mix just works as expected and so does elixir, erlang and all.

Where Next?

Popular in Questions Top

RisingFromAshes
I’ve read in another post that it may be possible with a router helper - but I couldn’t find an appropriate one, and tbh, I’m still just ...
New
joaquinalcerro
Hi there, I am working with Ecto-Postgresql and I need to call all of the records from a specific table but the table has 40,000 records...
New
New
lessless
I believe there are people here who are dealing with CSV files import on the daily basis, and since Excel is a really popular tool there ...
New
stefanluptak
Hello everybody, usually, I use a 29" ultra-wide monitor for VSCode which can easily accomodate explorer (files panel) + file with code ...
New
SoCreat
i’m a new one to elixir which editor can i use vs code? or atom? Thanks! :smiley:
New
JorisKok
I have a server on AWS, and was running a load test using artillery. When looking at the Phoenix dashboard I see the Ports going to 100% ...
New

Other popular topics Top

vertexbuffer
Hello, can anybody help here..? I have a list of players and I what to delete an element, but every for loop the list is reverting to ori...
New
vonH
In asking this question I am more interested about the expressiveness of the language itself and less concerned about the availability of...
New
openscript
Hello! Sorry for this astonishing simple question, but I’m really stuck. I try to set up the intellij-elixir plugin, but I don’t know ho...
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
senggen
Erlang/OTP 25 [erts-13.2.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] 15:22:35.803 [error] gen_event {lager_file_backend...
New
jason.o
In the code below, if the create action is not set to accept “extra_key” as an input, it errors out with a message shown above. Is there ...
New

We're in Beta

About us Mission Statement