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

jononomo
I am trying to figure out how Mix knows whether the environment is test, dev, or prod – where is this set? Thanks.
New
lanycrost
Hi everyone! I need implement if…else if…else condition from my elixir code, and anymore of this control flow structures not work proper...
New
aadeshere1
I have a another noob question about loop. Since elixir is immutable, while loop is not directly possible. total = 10 while total != 0 ...
New
9mm
I am constructing a JSON object (map) and I need to conditionally set a field. I’m trying to write proper elixir-way code… and I’m at a l...
New
vrod
I am using the Starship cross-shell prompt – it seems pretty nice, but I get some errors: [WARN] - (starship::utils): Executing command ...
New
fayddelight
I tried installing elixir 1.11.2 erlang 23.3.4 via asdf in my zsh shell. Enabled the versions locally and globally. When I list them ...
New
Harrisonl
We have an ECS cluster with 4 services, where each task joins a single cluster, via discovery ECS discovery service. Currently when I de...
New

Other popular topics Top

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
vonH
In asking this question I am more interested about the expressiveness of the language itself and less concerned about the availability of...
New
JakeBecker
TL;DR: I’ve just released an implementation of Microsoft’s IDE-independent Language Server Protocol for Elixir. It adds language support ...
1144 55125 245
New
nsuchy
Hi. I’ve noticed that Windows Powershell has it’s own IEX command and you cannot access Elixir’s IEX due to the conflict. This isn’t a cr...
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
Patoshizzle
After calling mix ecto.create I get this error: 17:00:32.162 [error] GenServer #PID<0.412.0> terminating ** (Postgrex.Error) FATAL...
New

We're in Beta

About us Mission Statement