mix_generator icon indicating copy to clipboard operation
mix_generator copied to clipboard

Error when installing archive

Open lukaleli opened this issue 6 years ago • 0 comments

Hey, Trying to install your generator, but installer blows up. Perhaps that has something to do with using Elixir 1.7.0-dev version. Here's the stacktrace:

mix archive.install hex mix_templates
==> Elixir.Mix.Local.Installer.Fetcher
Resolving Hex dependencies...
Dependency resolution completed:
  mix_templates 0.2.1
  private 0.1.1
* Getting mix_templates (Hex package)
  Checking package (https://repo.hex.pm/tarballs/mix_templates-0.2.1.tar)
  Using locally cached package
* Getting private (Hex package)
  Checking package (https://repo.hex.pm/tarballs/private-0.1.1.tar)
  Using locally cached package
==> private
Compiling 1 file (.ex)
Generated private app
==> mix_templates
Compiling 8 files (.ex)
warning: variable "url" is unused
  lib/mix/tasks/template.hex.ex:79

** (ArgumentError) argument error
    :erlang.get_module_info(Hex.API.Package, :deprecated)
    (hex) Hex.API.Package.__info__/1
    (mix) lib/mix/tasks/xref.ex:335: Mix.Tasks.Xref.load_exports_and_deprecated/1
    (mix) lib/mix/tasks/xref.ex:326: Mix.Tasks.Xref.load_exports_and_deprecated_into_acc/2
    (elixir) lib/enum.ex:1901: Enum."-reduce/3-lists^foldl/2-0-"/3
    (mix) lib/mix/tasks/xref.ex:295: anonymous fn/2 in Mix.Tasks.Xref.source_warnings/2
    (elixir) lib/enum.ex:1901: Enum."-reduce/3-lists^foldl/2-0-"/3
    (mix) lib/mix/tasks/xref.ex:291: Mix.Tasks.Xref.source_warnings/2

lukaleli avatar Jan 12 '18 17:01 lukaleli