Closed MattGaud2425 closed 5 years ago
Similar error in another file
== Compilation error in file lib/types/timestamptz.ex ==
** (CompileError) lib/types/timestamptz.ex:5: module Timex is not loaded and could not be found
(elixir) expanding macro: Kernel.use/1
lib/types/timestamptz.ex:5: Timex.Ecto.TimestampWithTimezone (module)
Cannot reproduce with the latest version and Elixir 1.9. The latter error appears to be due to Timex not being loaded at all for some reason.
Generated timex app ==> timex_ecto Compiling 8 files (.ex)
== Compilation error in file lib/types/date.ex == ** (CompileError) lib/types/date.ex:58: Ecto.Date.struct/0 is undefined, cannot expand struct Ecto.Date lib/types/date.ex:58: (module) could not compile dependency :timex_ecto, "mix compile" failed. You can recompile this dependency with "mix deps.compile timex_ecto", update it with "mix deps.update timex_ecto" or clean it with "mix deps.clean timex_ecto"