Skip to content

rebar3 compile stuck at "Fetching rebar3_gpb_plugin v2.23.2" on Windows CMD #2986

Description

@davidhenrygao

When I use rebar3 complie my erlang project in CMD, it will stuck at "Fetching rebar3_gpb_plugin v2.23.2";
But in Git Bash, there is no problem.
Why? I have no idea to fix it.

My environment:

  • Windows 10 Enterprise LTSC
  • Erlang and rebar3 version(the latest)
rebar3 --version
rebar 3.26.0+build.5511.ref4277af3d on Erlang/OTP 28 Erts 16.2

I install Eralng use "otp_win64_28.3.exe".
I git clone rebar3 repository on Github,and run on Git Bash:

$ git clone https://github.com/erlang/rebar3.git
$ cd rebar3
$ ./bootstrap

$mkdir -p ~/.cache/rebar3/bin
$cp -f rebar3 rebar3.cmd rebar3.ps1 ~/.cache/rebar3/bin

And add ~/.cache/rebar3/bin to system environment Path.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions