In preparation for launching a real app, I’m trying to follow this guide. Getting Started · Fly Docs
After selecting a location, the fly launch
command fails with…
? Choose a region for deployment: Los Angeles, California (US) (lax)
...
Preparing system for Elixir builds
Installing application dependencies
Running Docker release generator
Error failed running /Users/someuser/.asdf/shims/mix phx.gen.release --docker: exit status 1
Running mix phx.gen.release --docker
locally yields this output:
21:57:02.326 [debug] Fetching latest image information from https://hub.docker.com/v2/namespaces/hexpm/repositories/elixir/tags?name=1.14.0-erlang-25.0.3-debian-bullseye-
** (UndefinedFunctionError) function CAStore.file_path/0 is undefined (module CAStore is not available)
CAStore.file_path()
lib/mix/tasks/phx.gen.release.ex:253: Mix.Tasks.Phx.Gen.Release.fetch_body!/1
lib/mix/tasks/phx.gen.release.ex:200: Mix.Tasks.Phx.Gen.Release.gen_docker/1
lib/mix/tasks/phx.gen.release.ex:76: Mix.Tasks.Phx.Gen.Release.run/1
(mix 1.14.0) lib/mix/task.ex:421: anonymous fn/3 in Mix.Task.run_task/4
(mix 1.14.0) lib/mix/cli.ex:84: Mix.CLI.run_task/2
I’ve tried adding castore
directly to my deps in mix.exs
. I’ve tried cleaning deps, etc. to no avail.
This is a fresh mix phx.new hello_elixir
for 1.7.2 Phoenix. Any thoughts?
MacOS - elixir, erlang via asdf…