justjanne / powerline-go

A beautiful and useful low-latency prompt for your shell, written in go
GNU General Public License v3.0
2.75k stars 269 forks source link

go get: module declares its path as: wmi, but was required as: github.com/StackExchange/wmi #320

Closed WitherZuo closed 1 year ago

WitherZuo commented 3 years ago

Describe the bug When installing powerline-go, it prints

go get: github.com/StackExchange/wmi@v0.0.0-20190523213315-cbe66965904d updating to
        github.com/StackExchange/wmi@v0.0.0-20210708210415-b284ef6ab838: parsing go.mod:
        module declares its path as: wmi
                but was required as: github.com/StackExchange/wmi

and then it will not create $GOPATH/bin/powerline-go folder, so the installation was failed and cannot use powerline-go.

To Reproduce Steps to reproduce the behavior:

  1. go get -u github.com/justjanne/powerline-go
  2. See error

Expected behavior No any warning info about these and can use powerline-go.

Environment (please complete the following information):

Additional context QQ截图20210709195653

Nothing.

dswij commented 3 years ago

What version of Go are you using? @WitherZuo