llivingston

llivingston

I have run the installation instructions found in the Blockscout recipe. But my system has no mix command, so clearly something is missing.

Showing Posts 1 to 10

kip

kip

ex_cldr Core Team

Welcome to the Elixir forum. The is a wonderful community but there is an expectation that you first help yourself. What have you tried? Have you consulted the official Elixir installation page?

benwilson512

benwilson512

Author of Craft GraphQL APIs in Elixir with Absinthe

Hi @llivingston can you provide a link to this guide you’ve followed?

dimitarvp

dimitarvp

You are much better off installing Erlang and Elixir through asdf. After you do that, set up global and/or local (inside a project dir) versions and you should be good to go.

Oh, and to have the necessary tooling for downloading dependencies you should also run this after successful installations: mix local.rebar --force && mix local.hex --force.

derpycoder

derpycoder

I use asdf as well! It really helps pin the version to whatever we want for reproducible builds.

Here are the commands I use:

brew install asdf

asdf plugin-add elixir https://github.com/asdf-vm/asdf-elixir.git
asdf plugin-add erlang https://github.com/asdf-vm/asdf-erlang.git

asdf install

mix do local.hex, local.phx

asdf reshim elixir

Here’s the content of .tool-versions file, that needs to be in root of your project folder, for asdf to read:

elixir 1.14.0-otp-25
erlang 25.1.1

P.S. Mix is a build tool that ships with Elixir that provides tasks for creating, compiling, testing your application, managing its dependencies and much more!!

AstonJ

AstonJ

Agree about asdf, if you’re on a Mac this guide may help :023:

Sebb

Sebb

better:

mix do local.hex, local.rebar, local.phx

W3NDO

W3NDO

asdf has been my savior this past year. I even got elixir and Erlang up and running on my tablet with termux.

derpycoder

derpycoder

Hehe, I already have it.

I removed it from this post for brevity. :upside_down_face:

llivingston

llivingston OP

From the install instructions for blockscout, I’m at the point where I’m supposed to execute the following:
mix do deps.get, local.rebar --force, deps.compile

This is what I get:

** (EXIT from #PID<0.94.0>) an exception was raised:
    ** (UndefinedFunctionError) function :erlang.get_stacktrace/0 is undefined or private
        :erlang.get_stacktrace()
        (elixir) lib/kernel/cli.ex:118: anonymous fn/3 in Kernel.CLI.exec_fun/2

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
RemyXRenard
I’m seeing that a list inside a Kino.DataTable will be interpreted as a charlist, even if the Kino.configure() is set to charlists: :as_l...
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
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
FlyingNoodle
If a change or preparation module uses Ash.Changeset.get_argument/2 or Ash.Query.get_argument/2 (or any of the other get_argument functio...
New

Other Trending Topics Top

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
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews