kostonstyle
Dependencies errors: Unchecked dependencies for environment test:
Hi all
I’ve got following dependencies errors:
Unchecked dependencies for environment test:
* gettext (Hex package)
the dependency is not locked (run "mix deps.get" to generate "mix.lock" file)
* poolboy (Hex package)
the dependency is not locked (run "mix deps.get" to generate "mix.lock" file)
* poison (Hex package)
the dependency is not locked (run "mix deps.get" to generate "mix.lock" file)
* comeonin (Hex package)
the dependency is not locked (run "mix deps.get" to generate "mix.lock" file)
* bypass (Hex package)
the dependency bypass in mix.exs is overriding a child dependency:
> In mix.exs:
{:bypass, "~> 0.6.0", [env: :prod, hex: :bypass, only: :test]}
> In /home/anujit/elixir/weight_protocol/apps/sap_odata_service/mix.exs:
{:bypass, [env: :prod, git: "https://github.com/PSPDFKit-labs/bypass.git", only: :test]}
Ensure they match or specify one of the above in your deps and set "override: true"
* cowboy (Hex package)
the dependency is not locked (run "mix deps.get" to generate "mix.lock" file)
* phoenix_html (Hex package)
the dependency is not locked (run "mix deps.get" to generate "mix.lock" file)
* httpotion (Hex package)
the dependency is not locked (run "mix deps.get" to generate "mix.lock" file)
* phoenix_pubsub (Hex package)
the dependency is not locked (run "mix deps.get" to generate "mix.lock" file)
* phoenix (Hex package)
the dependency is not locked (run "mix deps.get" to generate "mix.lock" file)
** (Mix) Can't continue due to errors on dependencies
What am I doing wrong?
Thanks
Marked As Solved
hubertlepicki
When you specify “override: true”, the resolution dependency done by mix will force the use of version that you specify in mix.exs file. It will ignore versions required by other dependencies in case the conflict is detected.
This obviously mean you should use this with caution. Using override: true it is perfectly possible to force a dependency that is incompatible with one of the other libraries. The result may be that your project won’t compile anymore, or - worse - that it will but something will malfunction because you forced incompatible library version.
5
Also Liked
kostonstyle
kostonstyle
hubertlepicki
Popular in Questions
Erlang/OTP 25 [erts-13.2.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1]
15:22:35.803 [error] gen_event {lager_file_backend...
New
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
After calling mix ecto.create I get this error:
17:00:32.162 [error] GenServer #PID<0.412.0> terminating
** (Postgrex.Error) FATAL...
New
Hello, I have map which I want to convert it to string like this:
the map:
%{last_name: "tavakkoli", name: "shahryar"}
the string I ne...
New
Hi all,
Trying to get some more clarity over utc_datetime and naive_datetime for Ecto:
The documentation above suggests that while ...
New
Original source of discussion: This topic on the Pragmatic Programmers’ Functional Web Development with Elixir, OTP, and Phoenix forum.
...
New
Hey,
Just curious what are the main benefits of Elixir compared to Clojure?
When is Elixir more useful than Clojure and vice versa?
Th...
New
I’ve read in another post that it may be possible with a router helper - but I couldn’t find an appropriate one, and tbh, I’m still just ...
New
Hi, I’m just starting to build a side-project with Elixir and Phoenix and doing some basic test with Elixir alone.
What strikes me is th...
New
I want to highlight html closing tags when i click a html tag. That works in .html files but doesnt work for html.eex templates. How can...
New
Other popular topics
Hello, can anybody help here..? I have a list of players and I what to delete an element, but every for loop the list is reverting to ori...
New
If I have a post route which an argument:
post /my_post_route/:my_param1, MyController.my_post_handler
How would get the post params ...
New
About me? ( if you have nothing better to do than reading about some random guy in the internet :stuck_out_tongue: )
Hello all, this is ...
New
Hi everyone,
One of the features added to Elixir early on to help integration with Erlang code was the idea of overridable function defi...
New
Hey,
Just curious what are the main benefits of Elixir compared to Clojure?
When is Elixir more useful than Clojure and vice versa?
Th...
New
I’ve read in another post that it may be possible with a router helper - but I couldn’t find an appropriate one, and tbh, I’m still just ...
New
I’ve got an issue with an app and I’ve no idea of how to troubleshoot it. I’m hoping someone here might have seen something similar.
I p...
New
Hi everyone,
I was playing with phoenix liveView but I run into an issue. I have a form and want to validate each input text when the te...
New
TL;DR: I’ve just released an implementation of Microsoft’s IDE-independent Language Server Protocol for Elixir. It adds language support ...
New
Is there a way to rollback a specific migration and only that one (“skipping” all the other ones)?
Would
mix ecto.rollback -v 200809061...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance









