elixir-mix Questions

6

Solved

How to generate documentation for mix project? How it can do it? The procedure for working with the Elixir mix-project: I generate a project by mix new greeter command. I add a block of comment...
Rowdy asked 23/5, 2019 at 7:44

1

Getting error when installing Elixir dependencies, all Mix command are throwing same exception 23:31:44.447 [notice] Application ssl exited: exited in: :ssl_app.start(:normal, []) ** (EXIT) an exc...
Buss asked 6/8, 2023 at 5:44

2

Setup new project with command mix new project_name it setup everything without any error or warning message, cd to project and ran command iex -S mix it throws error lib/helloworld.ex defmodule H...
Dementia asked 7/8, 2023 at 3:12

5

Solved

How to automatically recompile and reload my iex + mix application every time I modify the source code? If there's no way for iex + mix combination to do that, what's the easiest alternative? I've...
Trixie asked 12/9, 2015 at 15:47

8

I'm on Windows and I am trying to install the bcrypt_elixir module. I get the following error: $ mix phx.server ==> bcrypt_elixir could not compile dependency :bcrypt_elixir, "mix compile" fai...
Decent asked 24/3, 2018 at 23:59

2

Solved

I started using GitHub Actions and I was able to setup a CI pipeline for Elixir, the action builds and tests without any issues. I also wanted to deploy the application using the heroku actions so ...
Colver asked 14/11, 2019 at 5:10

4

Can I use mix to install some packages globally? I'd like a behaviour like npm's global option or gem's install - it could be useful for packages I use everywhere like csv or yaml.
Oidea asked 5/11, 2015 at 15:8

2

Solved

I have a few files in my Elixir application that I'd like to exclude from the test coverage reporting. I'm not using any fancy coverage tools right now; (though I'm not closed to the possibility of...
Integrated asked 7/5, 2019 at 17:46

2

I'm trying to find a list a configurable options for mix format to put in the formatter config file, but I can't for the life of me find it. It's not in the mix format docs or anywhere else I've lo...
Slip asked 20/6, 2018 at 22:48

2

Solved

Elixir & Mix all want to make the server as a daemon. There have not been able to find the right way. In addition, I want to use the erlang reltool.
Ozonize asked 4/6, 2014 at 13:48

2

I am attempting to add coverage to my project, but keep running into problems. I've attempted all the suggestions in the error message at the bottom of this listing. I have a large project that I...
Systematics asked 2/6, 2020 at 20:5

3

Solved

I find the compile time warnings very useful, but I can occasionally miss them, especially if it's on a pull request where the tests are running on a CI server. Ideally I would specify something i...
Elliot asked 13/8, 2015 at 7:56

1

I am not sure where to put that error, elixir, phoenixframework, or nodejs. I am trying to create my first release build with elxir and phoenix. During the release build I see the following error....
Plourde asked 27/11, 2016 at 20:47

4

I am trying to install elixir in ubuntu... I had followed this instructions. Everthing seems fine, but when I try to execute the mix comand, system asnwered me this: bash: /usr/bin/mix: No such f...
Rescue asked 28/9, 2016 at 15:41

2

I'm trying to fetch dependencies for my elixir project. I can't tell if Hex is down or not (I was able to fetch just fine this morning). When I run $ mix deps.get I see this: Failed to fetch ...
Whaleboat asked 1/10, 2019 at 6:33

1

Solved

I have a number of tasks and jobs that I would like to be able to execute manually on a production elixir application. Currently, I have been performing them by running the code inside the remote_c...
Spoiler asked 26/5, 2016 at 23:50

1

Solved

I'm not sure when to use mix and when to use phoenix for creating umbrella applications. I have read a lot of articles online but they are not clear of the reasoning for using mix over phoenix and...
Dutiable asked 31/5, 2019 at 15:4

3

Solved

I'm sorry but I'm new to Elixir. while building phoenix application, mix deps.get failed with an error. % mix deps.get Could not find Hex, which is needed to build dependency :phoenix Shall I inst...
Ti asked 3/2, 2016 at 7:27

1

Solved

From the mix deps documentation: :runtime - whether the dependency is part of runtime applications. If the :applications key is not provided in def application in your mix.exs file, Mix will a...
Lurlinelusa asked 23/10, 2018 at 22:39

2

Solved

Running a phoenix server in iex session via mix, like: iex -S mix phx.server Will sometimes give a list of warnings like: Compiling 1 file (.ex) warning: variable "user" is unused lib/app_web...
Croon asked 17/9, 2018 at 3:56

4

Solved

I would like to run a mix task from within a custom mix task. Something like def run(_) do Mix.Shell.cmd("mix edeliver build release") #do other stuff But I cannot figure out how to execute a...
Elena asked 15/1, 2017 at 0:18

1

Solved

How can you run a shell script as a mix alias? I've tried the following with no luck: defp aliases() do [ "test": [ "./scripts/test.sh" ] ] end defp aliases() do [ "test": [ "scripts/test.s...
Celesta asked 3/4, 2018 at 16:14

2

Solved

I have seen elixir modules named this way: defmodule Foo.bar.baz do end But I can't find any documentation stating when to do this. Does it have to do with subdirectories? Using mix, I can put ...
Waechter asked 30/3, 2018 at 16:54

2

When I do mix compile I get messages like warning: variable "test_val" is unused lib/myapp/mymodule.ex:46 I'm just hacking on a side project and I don't care about these warnings for now. Is ...
Reply asked 22/3, 2018 at 6:32

1

Say I'm writing a new module, the code isn't ready yet and I want to test something in the repl. I run iex -S mix and it fails because of compilation errors I didn't intend to fix yet. I presume t...
Humpage asked 15/1, 2018 at 11:0

© 2022 - 2024 — McMap. All rights reserved.