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

go run mage.go prepare 失败 #32

Open
QiuToo opened this issue Dec 28, 2021 · 2 comments
Open

go run mage.go prepare 失败 #32

QiuToo opened this issue Dec 28, 2021 · 2 comments
Assignees

Comments

@QiuToo
Copy link

QiuToo commented Dec 28, 2021

[root@harbor250 perf]# HARBOR_SIZE=small HARBOR_URL=https://192.168.2.250:443 go run mage.go prepare
mage.go:8:2: cannot find package "github.com/magefile/mage/mage" in any of:
/usr/lib/golang/src/github.com/magefile/mage/mage (from $GOROOT)
/root/go/src/github.com/magefile/mage/mage (from $GOPATH)

@chlins
Copy link
Member

chlins commented Jan 4, 2022

@QiuToo Did you use go module? Can you try to run go mod tidy before prepare?

@QiuToo
Copy link
Author

QiuToo commented Mar 28, 2022

yes!of course!

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

No branches or pull requests

2 participants