Mix issues on Erlang 21 + Elixir 1.6.6 on Windows 10

Just upgraded to Erlang 21 and Elixir 1.6.6 on my windows machine, I now have issues with mix:

C:\Elixir\dl
λ mix compile
** (Mix) Error fetching/updating Git repository: the "git" executable is not available in your PATH. Please install Git on this machine or pass --no-deps-check if you want to run a previously built application on a system without Git.

C:\Elixir\dl
λ git
usage: git [--version] [--help] [-C <path>] [-c name=value]
           [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
           [-p | --paginate | --no-pager] [--no-replace-objects] [--bare]
           [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
           <command> [<args>]

I have gone back to 1.6.5 which worked fine before now, but same issues. Any clues please?

This is a known issues of OTP 21 on windows:

You need to downgrade your erlang installation.

2 Likes

That’s sad… any known work around while we wait for 21.1 ?

Yes, using 20.x :frowning:

3 Likes

Good Call :grinning:

Well, or using linux :wink:

3 Likes

Point taken…

Fixed on OTP 21.0.1 for Windows.

See

3 Likes

Confirmed fixed on Windows.

3 Likes