Questions tagged [elixir-mix]

Mix is a build tool that provides tasks for creating, compiling, testing Elixir projects, as well as handle dependencies, and more.

339 questions
0
votes
1 answer

What does it mean: WARNING! Excluded dependencies (not part of the Hex package)?

When I try to publish a new version of my package on hex, it prints the following warning: WARNING! Excluded dependencies (not part of the Hex package): ex_doc Full text of me running the command: $ mix hex.publish Publishing usefulness…
CrabMan
  • 1,578
  • 18
  • 37
0
votes
2 answers

Ecto config in dependencies

I have two mix projects P1 and P2. P1 depends on ecto and provides a genserver interface. It is also added as a dependency in P2 only to have access to some client functions. So P2 does not try to start P1. It is started independently. The problem…
zobel
  • 281
  • 4
  • 17
0
votes
1 answer

Mix Project Without a lib path

I have an existing ruby project that contains a list of protocol-buffer definitions. I would like to setup a mix.exs file and generate a hex package based on those same protocol-buffer definitions. I can't seem to find out how to configure my mix…
mmmries
  • 967
  • 8
  • 12
0
votes
1 answer

OTP_DSL not getting compiled with Elixir 14.3/Mix

Do anybody else is also facing the same issue, when doing "mix deps.compile" with otp_dsl library using elixir 14.3 version. Please share resolution if possible. Compilation error on file lib/otp_dsl/genfsm.ex == ** (CompileError)…
Coder
  • 428
  • 4
  • 16
0
votes
1 answer

Template Integration

I am following one reference to create demo chat app in elixir and understood very well how is it working. But i am not so sure how can i create templates in Elixir to implement the same chat room in UI rather than terminal. Can anybody suggest…
Coder
  • 428
  • 4
  • 16
-1
votes
0 answers

error: undefined function router/2 (expected MyApp.Endpoint to define such a function or for it to be imported, but none are available)

I have this elixir module: defmodule MyApp.Router do use Plug.Router plug :match plug :dispatch get "/" do send_resp(conn, 200, "Hello, World!") end end I run mix compile --no-halt and I get: % mix run --no-halt ===> Analyzing…
Alexander Mills
  • 90,741
  • 139
  • 482
  • 817
-1
votes
1 answer

Cross DB Ecto config failing

In config/dev.exs: config :drupex, Drupex.Repo, adapter: Ecto.Adapters.Postgres, -- username, password, database, hostname, pool_size omitted -- config :drupex, Drupex.DrupalRepo, adapter: Ecto.Adapters.Mysql, -- username, password,…
chx
  • 11,270
  • 7
  • 55
  • 129
-2
votes
1 answer

Elixir/mix: ** (stop) :eacces on Windows

When I try to run 'iex -S mix phx.server', I get the error: iex(1)> 2020-07-26T05:13:18.632000Z error Task OrcasiteWeb.Endpoint started from #PID<0.857.0> terminating ** (stop) :eacces erlang.erl:2217: :erlang.open_port({:spawn_executable,…
user2279952
  • 341
  • 1
  • 4
  • 9
-3
votes
1 answer

how can i using mix(Elixir) install package install to system?

I just want run IEx to require this package, I do not want create a mix project and into the deps. For example, gem install bundle How do I do this?
Yingce
  • 255
  • 2
  • 9
1 2 3
22
23