I was wondering if you have experienced an error when compiling parse_trans?
Hopefully this is just a me problem... Do you have any thoughts about this? Thank you!
Reproduction steps:
_dev :> mix new httpoison_compile
* creating README.md
* creating .formatter.exs
* creating .gitignore
* creating mix.exs
* creating config
* creating config/config.exs
* creating lib
* creating lib/httpoison_compile.ex
* creating test
* creating test/test_helper.exs
* creating test/httpoison_compile_test.exs
Your Mix project was created successfully.
You can use "mix" to compile it, test it, and more:
cd httpoison_compile
mix test
Run "mix help" for more commands.
_dev :> cd httpoison_compile/
httpoison_compile :> vim mix.exs
httpoison_compile :> cat mix.exs
defmodule HttpoisonCompile.MixProject do
use Mix.Project
def project do
[
app: :httpoison_compile,
version: "0.1.0",
elixir: "~> 1.6",
start_permanent: Mix.env() == :prod,
deps: deps()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:httpoison, "~> 1.1.0"}
]
end
end
httpoison_compile :> mix deps.get
Resolving Hex dependencies...
Dependency resolution completed:
certifi 2.3.1
hackney 1.12.1
httpoison 1.1.0
idna 5.1.1
metrics 1.0.1
mimerl 1.0.2
parse_trans 3.2.0
ssl_verify_fun 1.1.1
unicode_util_compat 0.3.1
* Getting httpoison (Hex package)
Checking package (https://repo.hex.pm/tarballs/httpoison-1.1.0.tar)
Using locally cached package
* Getting hackney (Hex package)
Checking package (https://repo.hex.pm/tarballs/hackney-1.12.1.tar)
Using locally cached package
* Getting certifi (Hex package)
Checking package (https://repo.hex.pm/tarballs/certifi-2.3.1.tar)
Using locally cached package
* Getting idna (Hex package)
Checking package (https://repo.hex.pm/tarballs/idna-5.1.1.tar)
Fetched package
* Getting metrics (Hex package)
Checking package (https://repo.hex.pm/tarballs/metrics-1.0.1.tar)
Using locally cached package
* Getting mimerl (Hex package)
Checking package (https://repo.hex.pm/tarballs/mimerl-1.0.2.tar)
Using locally cached package
* Getting ssl_verify_fun (Hex package)
Checking package (https://repo.hex.pm/tarballs/ssl_verify_fun-1.1.1.tar)
Using locally cached package
* Getting unicode_util_compat (Hex package)
Checking package (https://repo.hex.pm/tarballs/unicode_util_compat-0.3.1.tar)
Using locally cached package
* Getting parse_trans (Hex package)
Checking package (https://repo.hex.pm/tarballs/parse_trans-3.2.0.tar)
Using locally cached package
httpoison_compile :> mix compile
===> Compiling parse_trans
===> Compiling mimerl
===> Compiling metrics
===> Compiling unicode_util_compat
===> Rebar3 detected a lock file from a newer version. It will be loaded in compatibility mode, but important information may be missing or lost. It is recommended to upgrade Rebar3.
===> Rebar3 detected a lock file from a newer version. It will be loaded in compatibility mode, but important information may be missing or lost. It is recommended to upgrade Rebar3.
===> Rebar3 detected a lock file from a newer version. It will be loaded in compatibility mode, but important information may be missing or lost. It is recommended to upgrade Rebar3.
===> Compiling idna
===> Compiling ssl_verify_fun
===> Package parse_trans-3.2.0 not found. Fetching registry updates and trying again...
===> Updating package registry...
===> Uncaught error in rebar_core. Run with DEBUG=1 to see stacktrace
===> When submitting a bug report, please include the output of `rebar3 report "your command"`
** (Mix) Could not compile dependency :certifi, "/Users/paulogonzalez1/.mix/rebar3 bare compile --paths "/Users/paulogonzalez1/_dev/httpoison_compile/_build/dev/lib/*/ebin"" command failed. You can recompile this dependency with "mix deps.compile certifi", update it with "mix deps.update certifi" or clean it with "mix deps.clean certifi"
httpoison_compile :> elixir -v
Erlang/OTP 20 [erts-9.2] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]
Elixir 1.6.0 (compiled with OTP 20)
I was wondering if you have experienced an error when compiling
parse_trans
?Hopefully this is just a me problem... Do you have any thoughts about this? Thank you!
Reproduction steps: