rmilushev

rmilushev

Failed to add igniter to mix.exs

Hello, I am trying to install the Beacon CMS fresh application with Elixir 1.18.1 (compiled with Erlang/OTP 27), based on this installation guide: Installation — Beacon v0.5.1

The installation:

mix igniter.new bbbb --install beacon,beacon_live_admin --with phx.new

completes with this exception message:

Failed to add igniter to mix.exs. Please add it manually and try again

For more information, see: https://hexdocs.pm/igniter/readme.html#installation

I have tried mix igniter.install beacon,beacon_live_admin in the newly created directory and the output is:

** (UndefinedFunctionError) function Installer.Lib.Private.SharedUtils.igniter_version/0 is undefined (module Installer.Lib.Private.SharedUtils is not available)
    (igniter 0.5.2) Installer.Lib.Private.SharedUtils.igniter_version()
    (igniter 0.5.2) lib/mix/tasks/igniter.install.ex:86: Mix.Tasks.Igniter.Install.add_igniter_dep/1
    (igniter 0.5.2) lib/mix/tasks/igniter.install.ex:37: Mix.Tasks.Igniter.Install.run/1
    (mix 1.18.1) lib/mix/task.ex:495: anonymous fn/3 in Mix.Task.run_task/5
    (mix 1.18.1) lib/mix/cli.ex:107: Mix.CLI.run_task/2

What can I do to make the igniter be properly installed?

Thank you for your help.

Marked As Solved

rmilushev

rmilushev

Thank you for your help, Zach. This is the right solution. Strangely, I performed this command before the Beacon installation (based on the installation instructions here: Installation — Beacon v0.5.1), but it seems it needed to be performed once again. Now it is ok.

I appreciate your help and your work on the Ash framework.

Also Liked

zachdaniel

zachdaniel

Creator of Ash

It worked because I pushed a new fixed version since you had your issue, so you didn’t do anything wrong :slight_smile:

Last Post!

zachdaniel

zachdaniel

Creator of Ash

It worked because I pushed a new fixed version since you had your issue, so you didn’t do anything wrong :slight_smile:

Where Next?

Popular in Questions Top

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
sen
Hi All, I set a environment variables in dev.exs , like below code. when i start server, how can i set the ${enable} value? thanks. d...
New
belgoros
I’m not a pro in using Regex and can’t figure out why the following behaviour happens, especially if we take into account the difference ...
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
freewebwithme
Using vs code and installed ElixirLS: support and debugger. And I got an error popped up on start up says Failed to run ‘elixir’ comma...
New
SoCreat
i’m a new one to elixir which editor can i use vs code? or atom? Thanks! :smiley:
New

Other popular topics Top

nobody
Hi! In PHP: $_SERVER[‘SERVER_ADDR’] - in Elixir? Searched the docs for ip address and the web, no good results. Thanks!
New
grych
Hi folks, Few months ago I have announced the proof-of-concept of the library to manipulate the browsers DOM objects directly from Elixi...
639 54006 488
New
vonH
When I run the Plug and I recompile I wind up having to use Ctrl C to quit iex and start again. Witht the help of rlwrap I can use the cu...
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
chrismccord
Phoenix 1.4.0 released Phoenix 1.4 is out! This release ships with exciting new features, most notably with HTTP2 support, improved deve...
688 31494 112
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

We're in Beta

About us Mission Statement