Code Monkey home page Code Monkey logo

go: github.com/oxequa/realize imports gopkg.in/urfave/cli.v2: gopkg.in/urfave/[email protected]: parsing go.mod: module declares its path as: github.com/urfave/cli/v2 but was required as: gopkg.in/urfave/cli.v2 about realize HOT 4 OPEN

chenyongze avatar chenyongze commented on May 20, 2024 18
go: github.com/oxequa/realize imports gopkg.in/urfave/cli.v2: gopkg.in/urfave/[email protected]: parsing go.mod: module declares its path as: github.com/urfave/cli/v2 but was required as: gopkg.in/urfave/cli.v2

from realize.

Comments (4)

chenyongze avatar chenyongze commented on May 20, 2024 19

GO111MODULE=off go get github.com/oxequa/realize

from realize.

kulak avatar kulak commented on May 20, 2024 7

The proposed solution does not work in GO 1.20:

GO111MODULE=off go install github.com/oxequa/realize
../go/src/github.com/oxequa/realize/realize/schema.go:8:2: cannot find package "github.com/urfave/cli/v2" in any of:
	/usr/lib/go/src/github.com/urfave/cli/v2 (from $GOROOT)
	/home/user_name/go/src/github.com/urfave/cli/v2 (from $GOPATH)

from realize.

mathieucaroff avatar mathieucaroff commented on May 20, 2024 4

More generally:

# *sh
GO111MODULE=off go get github.com/oxequa/realize

# powershell
$env:GO111MODULE # (to check it does not exist)
$env:GO111MODULE='off'; go get github.com/oxequa/realize
Remove-Item env:GO111MODULE

from realize.

demeralde avatar demeralde commented on May 20, 2024 1

Note you can add export GO111MODULE="off" to your .bashrc, .zshrc, or ~/.config/fish/config.fish (depending on your shell).

I'm assuming this won't cause any issues.

from realize.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.