2
當我運行自定義在我的鳳凰應用混合任務(我認爲它甚至沒有涉及到鳳凰,但仍然)使用一些外部庫(如https://github.com/knrz/geocoder)我得到在鳳凰城的應用程序自定義搭配的任務
** (EXIT) no process: the process is not alive or there's no process currently associated with the given name, possibly because its application isn't started
:erlang.send(:geocoder_workers, {:"$gen_cast", {:cancel_waiting, #Reference<0.0.1.13074>}}, [:noconnect])
直到我想補充
Application.ensure_all_started(:geocoder)
到混音任務。所以我的問題是爲什麼我的所有依賴不會自動啓動?是我誰做錯了什麼?
文檔似乎已經感動:https://hexdocs.pm/phoenix/phoenix_mix_tasks.html#creating-our-own-mix-tasks –