GithubHelp home page GithubHelp logo

Comments (6)

nelsonic avatar nelsonic commented on June 2, 2024

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.

nelsonic avatar nelsonic commented on June 2, 2024

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.

nelsonic avatar nelsonic commented on June 2, 2024

Need a permanent solution to this. 💭 Parking for now but will return to it ASAP.

from learn-elixir.

nelsonic avatar nelsonic commented on June 2, 2024

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.

nelsonic avatar nelsonic commented on June 2, 2024

Downgrading the required version of ecto in the fields project from:

{:ecto, "~> 3.8"},

To:

{:ecto, "~> 3.3"},

To match: https://github.com/phoenixframework/phoenix_ecto/blob/2cf35cf2e441416bfb82b72aafc1659a12873cd2/mix.exs#L55

And thus avoid compatibility issues! 🤞

from learn-elixir.

nelsonic avatar nelsonic commented on June 2, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.