Skip to content

"go install" as shown in README doesn't work #947

@cuboci

Description

@cuboci

When I try to run go install github.com/schollz/croc/v10@latest as specified in README.md I get the following error:

go: github.com/schollz/croc/v10@latest (in github.com/schollz/croc/[email protected]):
	The go.mod file for the module providing named packages contains one or
	more replace directives. It must not contain directives that would cause
	it to be interpreted differently than if it were the main module.

There was another issue like this a while ago which got fixed by removing the offending replace directive from go.mod but it seems another one was introduced to downgrade the version of golang.org/x/sys to 0.31.

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