Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: updating go.mod path #14

Merged
merged 1 commit into from Apr 22, 2021
Merged

fix: updating go.mod path #14

merged 1 commit into from Apr 22, 2021

Conversation

sc250024
Copy link
Contributor

@sc250024 sc250024 commented Apr 22, 2021

Description

I tried running the following commands to install the CLI tool, but they all failed.

Build from source commands
$ go get -u -v github.com/gruntwork-io/git-xargs

go get: github.com/gruntwork-io/git-xargs@none updating to
    github.com/gruntwork-io/git-xargs@v0.0.3: parsing go.mod:
    module declares its path as: github.com/gruntwork-io/prototypes/git-xargs
            but was required as: github.com/gruntwork-io/git-xargs

$ go get -u -v github.com/gruntwork-io/git-xargs/cmd

go get: github.com/gruntwork-io/git-xargs@none updating to
    github.com/gruntwork-io/git-xargs@v0.0.3: parsing go.mod:
    module declares its path as: github.com/gruntwork-io/prototypes/git-xargs
            but was required as: github.com/gruntwork-io/git-xargs

$ go get -u -v github.com/gruntwork-io/prototypes/git-xargs

go get: module github.com/gruntwork-io/prototypes/git-xargs: git ls-remote -q origin in /Users/<my-user>/go/pkg/mod/cache/vcs/71e6a51a31709f8c15acf32385e11303f8c35b3ab4f6c4457aa458e205a40d1d: exit status 128:
    ERROR: Repository not found.
    fatal: Could not read from remote repository.

    Please make sure you have the correct access rights
    and the repository exists.

The go.mod path needs to be updated to support building from source.

  • Go version: go version go1.16.3 darwin/amd64

Copy link
Contributor

@zackproser zackproser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch - thank you for fixing this!

@zackproser zackproser merged commit a5c348c into gruntwork-io:master Apr 22, 2021
@sc250024 sc250024 deleted the fix-GoModPath branch April 22, 2021 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants