Comments (6)
Ran:
mix deps.unlock --all
Followed by:
mix deps.get
Got:
Resolving Hex dependencies...
The dependency resolver is taking more than 30 seconds. This typically happens when Hex cannot find a suitable set of dependencies that match your requirements. Here are some suggestions:
1. Do not delete mix.lock. If you want to update some dependencies, do mix deps.update dep1 dep2 dep3
2. Tighten up your dependency requirements to the latest version. Instead of {:my_dep, ">= 1.0.0"}, try {:my_dep, "~> 3.6"}
Took a break to refill my water bottle and when I returned to my desk I spent a few mins checking my GH Notifications ... ⏳
It's been 10 mins and the fans on my Mac are running like jet engines and zero progress on downloading the deps! 🤷♂️
from learn-elixir.
Had to kill the mix deps.get
as it seemed like it hung my terminal. 💀
Downgrade my version of Fields
from 2.9.1
to 2.8.2
and then re-installed everything mix deps.get
. 🙃
This is annoying ... 🤦♂️
from learn-elixir.
Need a permanent solution to this. 💭 Parking for now but will return to it ASAP.
from learn-elixir.
Happening again ...
auth % mix deps.get
Resolving Hex dependencies...
Failed to use "ecto" (versions 3.3.0 to 3.9.1) because
ecto_sql (version 3.7.2) requires ~> 3.7.0
phoenix_ecto (version 4.4.0) requires ~> 3.3
Failed to use "ecto" (versions 3.7.0 to 3.7.2) because
ecto_sql (version 3.7.2) requires ~> 3.7.0
fields (version 2.10.0) requires ~> 3.8
phoenix_ecto (version 4.4.0) requires ~> 3.3
Failed to use "jason" (version 1.4.0) because
auth_plug (version 1.4.11) requires ~> 1.2
elixir_auth_github (version 1.6.2) requires ~> 1.2
elixir_auth_google (version 1.6.3) requires ~> 1.2
phoenix (version 1.6.14) requires ~> 1.0
phoenix_live_view (version 0.18.2) requires ~> 1.0
postgrex (version 0.16.2) requires ~> 1.0
rbac (version 0.7.2) requires ~> 1.3.0
mix.exs specifies ~> 1.3
** (Mix) Hex dependency resolution failed, change the version requirements
of your dependencies or unlock them (by using mix deps.update or mix deps.unlock).
If you are unable to resolve the conflicts you can
try overriding with {:dependency, "~> 1.0", override: true}
Lame. 🤦♂️
Unpicking now. ⏳
from learn-elixir.
Downgrading the required version of ecto
in the fields
project from:
{:ecto, "~> 3.8"},
To:
{:ecto, "~> 3.3"},
And thus avoid compatibility issues! 🤞
from learn-elixir.
From bad to much worse! 🤦♂️
Looks like it's going to be a looooong evening! ⏳
n@MBP auth % mix deps.unlock --all
n@MBP auth % mix deps.get
Resolving Hex dependencies...
The dependency resolver is taking more than 30 seconds. This typically happens when Hex cannot find a suitable set of dependencies that match your requirements. Here are some suggestions:
1. Do not delete mix.lock. If you want to update some dependencies, do mix deps.update dep1 dep2 dep3
2. Tighten up your dependency requirements to the latest version. Instead of {:my_dep, ">= 1.0.0"}, try {:my_dep, "~> 3.6"}
Failed to use "ecto" (versions 3.8.0 to 3.9.1) because
ecto_sql (versions 3.7.1 and 3.7.2) requires ~> 3.7.0
phoenix_ecto (version 4.4.0) requires ~> 3.3
Failed to use "jason" (version 1.4.0) because
auth_plug (versions 1.4.14 to 1.4.16) requires ~> 1.3
elixir_auth_github (versions 1.6.1 and 1.6.2) requires ~> 1.2
elixir_auth_google (versions 1.6.2 and 1.6.3) requires ~> 1.2
phoenix (versions 1.6.5 to 1.6.14) requires ~> 1.0
phoenix_live_view (versions 0.18.0 to 0.18.2) requires ~> 1.0
postgrex (versions 0.15.13 to 0.16.5) requires ~> 1.0
rbac (version 0.7.0) requires ~> 1.2.2
mix.exs specifies ~> 1.3
Failed to use "jason" (version 1.4.0) because
auth_plug (versions 1.4.14 to 1.4.16) requires ~> 1.3
elixir_auth_github (versions 1.6.1 and 1.6.2) requires ~> 1.2
elixir_auth_google (versions 1.6.2 and 1.6.3) requires ~> 1.2
phoenix (versions 1.6.5 to 1.6.14) requires ~> 1.0
phoenix_live_view (versions 0.18.0 to 0.18.2) requires ~> 1.0
postgrex (versions 0.15.13 to 0.16.5) requires ~> 1.0
rbac (versions 0.7.1 and 0.7.2) requires ~> 1.3.0
mix.exs specifies ~> 1.3
Failed to use "plug" (versions 1.10.2 to 1.13.1) because
auth_plug (version 1.4.16) requires ~> 1.13.2
phoenix (versions 1.6.5 to 1.6.14) requires ~> 1.10
phoenix_ecto (version 4.4.0) requires ~> 1.9
phoenix_html (version 3.2.0) requires ~> 1.5
plug_cowboy (version 2.5.2) requires ~> 1.7
Failed to use "plug" (versions 1.10.2 to 1.13.2) because
auth_plug (version 1.4.15) requires ~> 1.13.3
phoenix (versions 1.6.5 to 1.6.14) requires ~> 1.10
phoenix_ecto (version 4.4.0) requires ~> 1.9
phoenix_html (version 3.2.0) requires ~> 1.5
plug_cowboy (version 2.5.2) requires ~> 1.7
Failed to use "plug" (versions 1.10.2 to 1.13.3) because
auth_plug (version 1.4.14) requires ~> 1.13.4
phoenix (versions 1.6.5 to 1.6.14) requires ~> 1.10
phoenix_ecto (version 4.4.0) requires ~> 1.9
phoenix_html (version 3.2.0) requires ~> 1.5
plug_cowboy (version 2.5.2) requires ~> 1.7
Failed to use "plug" (versions 1.13.2 to 1.13.6) because
auth_plug (version 1.4.16) requires ~> 1.13.2
phoenix (versions 1.6.5 to 1.6.14) requires ~> 1.10
phoenix_ecto (version 4.4.0) requires ~> 1.9
phoenix_html (version 3.2.0) requires ~> 1.5
ping (version 1.1.0) requires ~> 1.12.1
plug_cowboy (version 2.5.2) requires ~> 1.7
Failed to use "plug" (versions 1.13.3 to 1.13.6) because
auth_plug (version 1.4.15) requires ~> 1.13.3
phoenix (versions 1.6.5 to 1.6.14) requires ~> 1.10
phoenix_ecto (version 4.4.0) requires ~> 1.9
phoenix_html (version 3.2.0) requires ~> 1.5
ping (version 1.1.0) requires ~> 1.12.1
plug_cowboy (version 2.5.2) requires ~> 1.7
Failed to use "plug" (versions 1.13.4 to 1.13.6) because
auth_plug (version 1.4.14) requires ~> 1.13.4
phoenix (versions 1.6.5 to 1.6.14) requires ~> 1.10
phoenix_ecto (version 4.4.0) requires ~> 1.9
phoenix_html (version 3.2.0) requires ~> 1.5
ping (version 1.1.0) requires ~> 1.12.1
plug_cowboy (version 2.5.2) requires ~> 1.7
Failed to use "telemetry" (versions 0.4.0 and 0.4.1) because
ecto_sql (versions 3.7.1 and 3.7.2) requires ~> 0.4.0 or ~> 1.0
phoenix (versions 1.6.5 to 1.6.14) requires ~> 0.4 or ~> 1.0
phoenix_live_view (versions 0.18.0 to 0.18.2) requires ~> 0.4.2 or ~> 1.0
plug (versions 1.10.0 and 1.10.1) requires ~> 0.4
telemetry_metrics (version 0.6.1) requires ~> 0.4 or ~> 1.0
Failed to use "telemetry" (versions 0.4.2 and 0.4.3) because
ecto_sql (versions 3.7.1 and 3.7.2) requires ~> 0.4.0 or ~> 1.0
phoenix (versions 1.6.5 to 1.6.14) requires ~> 0.4 or ~> 1.0
phoenix_live_view (versions 0.18.0 to 0.18.2) requires ~> 0.4.2 or ~> 1.0
plug (versions 1.10.0 and 1.10.1) requires ~> 0.4
telemetry_metrics (version 0.6.1) requires ~> 0.4 or ~> 1.0
telemetry_poller (version 1.0.0) requires ~> 1.0
from learn-elixir.
Related Issues (20)
- HTML function component
- How to speed up `Elixir` compile times
- Bumblebee: GPT2, Stable Diffusion, and more in Elixir!
- Sheldon: The Erlang Spell Checker
- Create a Livebook sub repo? HOT 10
- About comprehensions in Elixir
- livebook on genservers HOT 2
- Simplifying Systems with Elixir • Sasa Juric • YOW! 2020 HOT 1
- livebook (in progres) on Finite State Machines HOT 1
- Block Based Editor in Phoenix LiveView
- React to LiveView for Performance
- Phoenix LiveView 0.19 + `todo_trek`
- Machine Learning with Elixir book HOT 2
- Elixir for cynical curmudgeons HOT 1
- Unpacking Elixir: Concurrency
- Secure Coding and Deployment Hardening Guidelines
- [Video] ElixirConf 2023 - José Valim - foundations of the `Elixir` type system HOT 1
- Env variables: how to? HOT 16
- Building AI Apps with Elixir - Charlie Holtz - ElixirConf 2023 HOT 4
- How to install `Erlang` and `Elixir` on `macOS` with `M1` Chip HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from learn-elixir.