(UndefinedFunctionError) function Ecto.Query.from/2 is undefined or private
mustela opened this issue · 1 comments
mustela commented
Hey guys, Im trying to use Elixir 1.13 with this package, but Im getting the following error:
==> fun_with_flags
Compiling 21 files (.ex)
== Compilation error in file lib/fun_with_flags/store/persistent/ecto.ex ==
** (UndefinedFunctionError) function Ecto.Query.from/2 is undefined or private. However there is a macro with the same name and arity. Be sure to require Ecto.Query if you intend to invoke this macro
(ecto 3.7.1) expanding macro: Ecto.Query.from/2
lib/fun_with_flags/store/persistent/ecto.ex:29: FunWithFlags.Store.Persistent.Ecto.get/1
could not compile dependency :fun_with_flags, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile fun_with_flags", update it with "mix deps.update fun_with_flags" or clean it with "mix deps.clean fun_with_flags"
These are the versions Im running:
Erlang/OTP 24 [erts-12.1.5] [source] [64-bit] [smp:6:6] [ds:6:6:10] [async-threads:1] [jit]
Elixir 1.13.0 (compiled with Erlang/OTP 24)
fun_with_flags: 1.8.0
Ecto: 3.7.1
phoenix: 1.6.4
Any clue?
Thanks!
mustela commented
hmm cleaned everything and seems to be working again 🤷🏼♂️