As far as I can tell this version of Phoenix comes with Ecto 2.0 which breaks a number of examples from the book.
Which is the last 1.1.x version of the Phoenix framework that will work with the book - would that be “phoenix_new-1.1.6.ez”?
(Currently installed versions of Erlang and Elixir are: 19.0.2 / 1.3.2.)
One additional question: How do I get rid of the installed Phoenix 1.2.0? Just delete the directory from the .mix/archives/ or does it have to be removed via mix. If so, how?
Stick with phoenix_new 1.1.6 for the book. The changes are few but it will help avoid confusion in case you get stuck somewhere. Migrating to 1.2.0 should be straight-forward later on.
About the archives, you can either use mix archive.uninstall or just remove the directory manually. Both are fine.
The proposed solution is to upgrade to Phoenix 1.2, which seems to defeat the issue of working with 1.16 in order to be compatible with the book. It is also suggested that the issues has been fixed with 1.16, but, alas, I’m seeing the problem still.