== Compilation error in file lib/ecto/query.ex ==
** (Kernel.TypespecError) lib/ecto/query.ex:428: type dynamic/0 is a built-in type and it cannot be redefined
(elixir 1.15.0) lib/kernel/typespec.ex:961: Kernel.Typespec.compile_error/2
(stdlib 5.0.1) lists.erl:1599: :lists.foldl_1/3
(elixir 1.15.0) lib/kernel/typespec.ex:226: Kernel.Typespec.translate_typespecs_for_module/2
could not compile dependency :ecto, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile ecto --force", update it with "mix deps.update ecto" or clean it with "mix deps.clean ecto"
ERROR: Service 'cense_live_chat' failed to build: The command '/bin/sh -c mix do compile' returned a non-zero code: 1
for building yam file I have up my Postgres service too. I have tried using the command shown in error mix deps.compile ecto --force, update it with mix deps.update ecto or clean it with mix deps.clean ecto.
so anyone knows what to do about the above error????
Update the ecto version to
{:ecto, "~> 3.10"}version as the latest OTP and ecto was having the typedynamicin common. so ecto updated the name todynamic_exprso to fix this issue. either upgrade the ecto or downgrade the OTP.