Skip to content

Fixed go install usage - #149

Merged
DarthSim merged 2 commits into
DarthSim:masterfrom
hsbt:fix-installation-error
Mar 10, 2023
Merged

DarthSim merged 2 commits into
DarthSim:masterfrom
hsbt:fix-installation-error

Conversation

@hsbt

@hsbt hsbt commented Feb 21, 2023

Copy link
Copy Markdown
Contributor

Hi, the current instruction is failed like:

$ go install -u github.com/DarthSim/overmind/v2
flag provided but not defined: -u
usage: go install [build flags] [packages]
Run 'go help install' for details.

I fixed it to correct usage of go install.

Comment thread README.md Resolved
@DarthSim
DarthSim merged commit eb34019 into DarthSim:master Mar 10, 2023
@DarthSim

Copy link
Copy Markdown
Owner

Hi @hsbt!
Thank's for your contribution!
I changed github.com/DarthSim/overmind@v2 back to github.com/DarthSim/overmind/v2 as github.com/DarthSim/overmind@v2 installs an old version

@hsbt
hsbt deleted the fix-installation-error branch March 10, 2023 21:37
@hsbt

hsbt commented Mar 15, 2023 •

Copy link
Copy Markdown
Contributor Author

Thanks. But the current instruction is also not working.

$ go install github.com/DarthSim/overmind/v2
go: 'go install' requires a version when current directory is not in a module

It should be:

go install github.com/DarthSim/overmind/v2@latest

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.

2 participants