stevensonmt
Error with igniter.install ash_postgres
Getting this error trying to get set up with the new Ash book:
$ mix igniter.install ash_postgres
checking for igniter in project ✔
compiling igniter ✔
setting up igniter ✔
** (UndefinedFunctionError) function :http_util.timestamp/0 is undefined (module :http_util is not available)
(inets 9.3) :http_util.timestamp()
(inets 9.3) httpc.erl:1151: :httpc.handle_request/9
(igniter 0.5.8) lib/igniter/project/deps.ex:276: Igniter.Project.Deps.determine_dep_type_and_version/1
(igniter 0.5.8) lib/igniter/util/install.ex:29: anonymous fn/1 in Igniter.Util.Install.install/4
(elixir 1.18.1) lib/enum.ex:1714: Enum."-map/2-lists^map/1-1-"/2
(igniter 0.5.8) lib/igniter/util/install.ex:28: Igniter.Util.Install.install/4
(mix 1.18.1) lib/mix/task.ex:495: anonymous fn/3 in Mix.Task.run_task/5
(mix 1.18.1) lib/mix/cli.ex:107: Mix.CLI.run_task/2
Looks like a commit from two days ago might be the culprit.
Editing deps in mix.exs to {:igniter, "~> 0.5.15"} seems to have fixed the error.
Most Liked
sevenseacat
Pushed a fix for that to main, so any new readers/forkers will have the latest version of Igniter (0.5.16) from the get-go!
stevensonmt
I had opened this issue on the github repo:
sevenseacat
I did update all the deps three or four days ago when I pushed the changes for chapter 7, but that would have missed the commit from two days ago. I’ll go through and verify ![]()
edit: oops Igniter wasn’t one of them, it was still on 0.5.8. Will fix!
stevensonmt
which code? do you mean the error message? if so, the newest version does not show that error. the project from the book had version ~> 0.3 in mix.exs.







