11
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Ubuntu 22.04でphx.serverが起動出来なかった時の対処方法(暫定)

Last updated at Posted at 2022-10-16

a.png

下記のエラーメッセージが表示して起動できませんでした。

could not compile dependency :gettext, "mix compile" failed. 
You can recompile this dependency with "mix deps.compile gettext",
update it with "mix deps.update gettext" or clean it with "mix deps.clean gettext"

20.04でElixirのインストールは

https://elixir-lang.org/install.html#gnulinux
によると

sudo apt-get install elixir

で終わりのはず。
Phoenixを起動しようとすると一部ライブラリーが足りないようです。

暫定処理

sudo apt install erlang

これで足りない、erlangを入れます。
(暫定で正式な対応方法がわかってません)

起動できるようになりました。
b.png

11
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
11
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?