Closed akrisanov closed 5 years ago
nimble_parsec was just released with v0.5.0 that removed repeat_until
in favour of lookahead_not
(https://github.com/plataformatec/nimble_parsec/commit/46d7337768487f937162f06874cc7ae69a034a96).
You can work around this issue by pinning: {:nimble_parsec, "~> 0.4.0", only: :dev}
(you might need override: true
too), while we wait until makeup
is updated and/or we pin the version too.
@josevalim @tmbb perhaps makeup
should embed nimble_parsec without depending on it to avoid issues like that, e.g. by using https://hexdocs.pm/nimble_parsec/Mix.Tasks.NimbleParsec.Compile.html :)
@wojtekmach i don't think that's possible for makeup because it provides a collection of helpers on top of nimble_parsec and the each language makeup itself relies on NimbleParsec as well.
I have opened an issue here: https://github.com/tmbb/makeup/pull/18
oh, fair enough, I admit I haven't looked into makeup internals yet.
It's basically what @josevalim said. I'll publish a new version compatible with nimble_parsec 0.5 as soon as possible.
You can work around this issue by pinning: {:nimble_parsec, "~> 0.4.0", only: :dev} (you might need override: true too), while we wait until makeup is updated and/or we pin the version too.
Yes, that works. Thanks @wojtekmach
There's a new version of makeup that fixes the issue so the workaround is no longer needed!
I'm using
ex_doc
in the:dev
environment at my tiny Elixir package.mix.exs:
I can successfully pull down the dependencies and run tests:
All good so far, but I'm getting an exception while running
mix docs
:Erlang/OTP 21 [erts-10.1.3] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [hipe] [dtrace]
Elixir 1.7.4 (compiled with Erlang/OTP 21)