Skip to content

Instantly share code, notes, and snippets.

@RichMorin
Last active November 17, 2018 00:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RichMorin/517798b0fab809c421e1e76093e4b0b7 to your computer and use it in GitHub Desktop.
Save RichMorin/517798b0fab809c421e1e76093e4b0b7 to your computer and use it in GitHub Desktop.
nastygrams from trying to install Phoenix
$ elixir -v
Erlang/OTP 21 [erts-10.1.1] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [hipe] [dtrace]
Elixir 1.7.3 (compiled with Erlang/OTP 21)
$ mix archive.install hex phx_new 1.4.0
Resolving Hex dependencies...
Dependency resolution completed:
New:
phx_new 1.4.0
* Getting phx_new (Hex package)
All dependencies up to date
Compiling 10 files (.ex)
warning: redefining module Mix.Tasks.Phx.New.Web (current version loaded from /Users/rdm/.mix/archives/phx_new/phx_new/ebin/Elixir.Mix.Tasks.Phx.New.Web.beam)
lib/mix/tasks/phx.new.web.ex:1
warning: redefining module Mix.Tasks.Local.Phx (current version loaded from /Users/rdm/.mix/archives/phx_new/phx_new/ebin/Elixir.Mix.Tasks.Local.Phx.beam)
lib/mix/tasks/local.phx.ex:1
warning: redefining module Mix.Tasks.Phx.New.Ecto (current version loaded from /Users/rdm/.mix/archives/phx_new/phx_new/ebin/Elixir.Mix.Tasks.Phx.New.Ecto.beam)
lib/mix/tasks/phx.new.ecto.ex:1
warning: redefining module Mix.Tasks.Phx.New (current version loaded from /Users/rdm/.mix/archives/phx_new/phx_new/ebin/Elixir.Mix.Tasks.Phx.New.beam)
lib/mix/tasks/phx.new.ex:1
warning: redefining module Phx.New.Ecto (current version loaded from /Users/rdm/.mix/archives/phx_new/phx_new/ebin/Elixir.Phx.New.Ecto.beam)
lib/phx_new/ecto.ex:1
warning: redefining module Phx.New.Project (current version loaded from /Users/rdm/.mix/archives/phx_new/phx_new/ebin/Elixir.Phx.New.Project.beam)
lib/phx_new/project.ex:1
warning: redefining module Phx.New.Generator (current version loaded from /Users/rdm/.mix/archives/phx_new/phx_new/ebin/Elixir.Phx.New.Generator.beam)
lib/phx_new/generator.ex:1
== Compilation error in file lib/phx_new/ecto.ex ==
** (File.Error) could not read file "/Users/chris/oss/phoenix/installer/templates/phx_ecto/repo.ex": no such file or directory
(elixir) lib/file.ex:319: File.read!/1
lib/phx_new/generator.ex:28: anonymous fn/4 in Phx.New.Generator."MACRO-__before_compile__"/2
(elixir) lib/enum.ex:1925: Enum."-reduce/3-lists^foldl/2-0-"/3
lib/phx_new/generator.ex:24: anonymous fn/3 in Phx.New.Generator."MACRO-__before_compile__"/2
(elixir) lib/enum.ex:1925: Enum."-reduce/3-lists^foldl/2-0-"/3
expanding macro: Phx.New.Generator.__before_compile__/1
lib/phx_new/ecto.ex:1: Phx.New.Ecto (module)
$ mix archive
* hex-0.18.2
* phoenix_new-1.0.2.ez
* phx_new
Archives installed at: /Users/rdm/.mix/archives
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment