Programming Phoenix LiveView:

Programming Phoenix LiveView B4.0 (page 11)

When I give the command “mix ecto.create” near the bottom of page 11, it throws an error message during setup.

$ mix ecto.create
==> file_system
Compiling 7 files (.ex)
Generated file_system app
==> connection
Compiling 1 file (.ex)
Generated connection app
==> gettext
Compiling 1 file (.yrl)
/usr/lib/erlang/lib/parsetools-2.2/include/yeccpre.hrl: no such file or directory
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”

I tried re-install from scratch twice, also tried “mix deps.update gettext” and other suggestions, none of which changed the results.

It’s hard to get much value out of a book that sputters on page 10!