Skip to content
This repository was archived by the owner on Sep 17, 2024. It is now read-only.
This repository was archived by the owner on Sep 17, 2024. It is now read-only.

编译报错:invalid version: git fetch --unshallow -f origin #164

Description

@ccinoo

大佬,编译时如下报错,如何解决?

go mod download go: github.com/spf13/viper@v1.10.1 requires cloud.google.com/go@v0.99.0 requires cloud.google.com/go/storage@v1.10.0 requires cloud.google.com/go@v0.57.0 requires github.com/golang/protobuf@v1.4.0 requires google.golang.org/protobuf@v1.21.0 requires github.com/golang/protobuf@v1.4.0-rc.4.0.20200313231945-b860323f09d0: invalid version: git fetch --unshallow -f origin in /root/go/pkg/mod/cache/vcs/6e18cbff36266c74e48dd81b4b672026ac74fb69c838ddb6240f256bb8edf590: exit status 128: fatal: git fetch-pack: expected shallow list make: *** [get] Error 1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions