-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Closed
Labels
Milestone
Description
Elixir and Erlang/OTP versions
Erlang/OTP 28 [RELEASE CANDIDATE 2] [erts-16.0] [source] [64-bit] [smp:16:16] [ds:16:16:10] [async-threads:1] [jit]
Elixir 1.18.3 (compiled with Erlang/OTP 27)Operating system
macOS Sequoia 15.3.2
Current behavior
I installed Erlang/OTP 28.0-rc.2 and Elixir 1.18.3-otp-27 using mise, do the following steps:
mix new testcd test- Edit
mix.exsto installex_doc
I got the following error when mix deps.get:
12:01:56.398 [error] beam/beam_load.c(592): Error loading function 'Elixir.Hex.State':print_invalid_config_error/2: op bs_add p x x u x:
please re-compile this module with an Erlang/OTP 28 compiler or update your Erlang/OTP version
12:01:56.402 [error] beam/beam_load.c(592): Error loading function 'Elixir.Hex.State':print_invalid_config_error/2: op bs_add p x x u x:
please re-compile this module with an Erlang/OTP 28 compiler or update your Erlang/OTP version
12:01:56.404 [notice] Application hex exited: exited in: Hex.Application.start(:normal, [])
** (EXIT) an exception was raised:
** (ArgumentError) The module Hex.State was given as a child to a supervisor but it does not exist
(elixir 1.18.3) lib/supervisor.ex:797: Supervisor.init_child/1
(elixir 1.18.3) lib/enum.ex:1714: Enum."-map/2-lists^map/1-1-"/2
(elixir 1.18.3) lib/enum.ex:1714: Enum."-map/2-lists^map/1-1-"/2
(elixir 1.18.3) lib/supervisor.ex:783: Supervisor.init/2
(elixir 1.18.3) lib/supervisor.ex:707: Supervisor.start_link/2
(kernel 10.3) application_master.erl:297: :application_master.start_it_old/4
12:01:56.405 [notice] Application inets exited: :stopped
12:01:56.406 [notice] Application ssl exited: :stopped
12:01:56.406 [notice] Application public_key exited: :stopped
12:01:56.406 [notice] Application asn1 exited: :stopped
12:01:56.406 [notice] Application crypto exited: :stopped
Could not start Hex. Try fetching a new version with "mix local.hex" or uninstalling it with "mix archive.uninstall hex.ez"
** (MatchError) no match of right hand side value: {:error, {:hex, {:bad_return, {{Hex.Application, :start, [:normal, []]}, {:EXIT, {%ArgumentError{message: "The module Hex.State was given as a child to a supervisor but it does not exist"}, [{Supervisor, :init_child, 1, [file: ~c"lib/supervisor.ex", line: 797]}, {Enum, :"-map/2-lists^map/1-1-", 2, [file: ~c"lib/enum.ex", line: 1714]}, {Enum, :"-map/2-lists^map/1-1-", 2, [file: ~c"lib/enum.ex", line: 1714]}, {Supervisor, :init, 2, [file: ~c"lib/supervisor.ex", line: 783]}, {Supervisor, :start_link, 2, [file: ~c"lib/supervisor.ex", line: 707]}, {:application_master, :start_it_old, 4, [file: ~c"application_master.erl", line: 297]}]}}}}}}
(hex 2.1.1) lib/hex.ex:5: Hex.start/0
(mix 1.18.3) lib/mix/hex.ex:60: Mix.Hex.start/0
(mix 1.18.3) lib/mix/dep/loader.ex:189: Mix.Dep.Loader.with_scm_and_app/5
(mix 1.18.3) lib/mix/dep/loader.ex:141: Mix.Dep.Loader.to_dep/4
(elixir 1.18.3) lib/enum.ex:1714: Enum."-map/2-lists^map/1-1-"/2
(mix 1.18.3) lib/mix/dep/loader.ex:364: Mix.Dep.Loader.mix_children/3
(mix 1.18.3) lib/mix/dep/loader.ex:18: Mix.Dep.Loader.children/1
(mix 1.18.3) lib/mix/dep/converger.ex:97: Mix.Dep.Converger.all/4I also did mix local.hex, I got the following message:
mix local.hex
Found existing entry: /Users/zacky/.mix/archives/hex-2.1.1
Are you sure you want to replace it with "https://builds.hex.pm/installs/1.16.0/hex-2.1.1.ez"? [Yn] y
* creating /Users/zacky/.mix/archives/hex-2.1.1I did mix deps.get again, but I got the same error.
I also did mix archive.uninstall hex.ez, and I got the following error:
Could not find a local artifact named "hex.ez". We found:
* hex-2.1.1
Archives installed at: /Users/zacky/.mix/archivesExpected behavior
I will succeed in mix deps.get without any errors.
jilv220