You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
go: github.com/oxequa/realize imports gopkg.in/urfave/cli.v2: gopkg.in/urfave/cli.v2@v2.2.0: parsing go.mod: module declares its path as: github.com/urfave/cli/v2 but was required as: gopkg.in/urfave/cli.v2 #269
➜ go go get github.com/oxequa/realize
go: github.com/oxequa/realize upgrade => v2.0.2+incompatible
go: finding module for package github.com/oxequa/interact
go: finding module for package gopkg.in/urfave/cli.v2
go: finding module for package gopkg.in/yaml.v2
go: finding module for package github.com/go-siris/siris/core/errors
go: finding module for package github.com/labstack/echo
go: finding module for package github.com/fsnotify/fsnotify
go: finding module for package github.com/fatih/color
go: finding module for package github.com/sirupsen/logrus
go: finding module for package github.com/labstack/echo/middleware
go: finding module for package golang.org/x/net/websocket
go: found github.com/oxequa/interact in github.com/oxequa/interact v0.0.0-20171114182912-f8fb5795b5d7
go: found gopkg.in/urfave/cli.v2 in gopkg.in/urfave/cli.v2 v2.2.0
go: found github.com/fatih/color in github.com/fatih/color v1.9.0
go: found github.com/fsnotify/fsnotify in github.com/fsnotify/fsnotify v1.4.9
go: found github.com/go-siris/siris/core/errors in github.com/go-siris/siris v7.4.0+incompatible
go: found github.com/labstack/echo in github.com/labstack/echo v3.3.10+incompatible
go: found github.com/sirupsen/logrus in github.com/sirupsen/logrus v1.6.0
go: found golang.org/x/net/websocket in golang.org/x/net v0.0.0-20200625001655-4c5254603344
go: found gopkg.in/yaml.v2 in gopkg.in/yaml.v2 v2.3.0
go: github.com/oxequa/realize imports
gopkg.in/urfave/cli.v2: gopkg.in/urfave/cli.v2@v2.2.0: parsing go.mod:
module declares its path as: github.com/urfave/cli/v2
but was required as: gopkg.in/urfave/cli.v2
# *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
Activity
chenyongze commentedon Jun 28, 2020
GO111MODULE=off go get github.com/oxequa/realize
mathieucaroff commentedon Jul 17, 2020
More generally:
dreamawakening commentedon May 29, 2022
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.
kulak commentedon Jun 21, 2023
The proposed solution does not work in GO 1.20: