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

Command gop mod tidy cant work #124

Open
huan11 opened this issue Feb 21, 2025 · 1 comment
Open

Command gop mod tidy cant work #124

huan11 opened this issue Feb 21, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@huan11
Copy link

huan11 commented Feb 21, 2025

$ gop mod tidy
2025/02/21 14:10:58 PkgHash: unexpected package - github.com/qiniu/x/stringutil
2025/02/21 14:10:58 PkgHash: unexpected package - github.com/qiniu/x/stringutil
2025/02/21 14:10:58 PkgHash: unexpected package - github.com/qiniu/x/http/fsx
internal error in importing "github.com/goplus/yap" (unsupported version: 2); please report an issue

$gop version
gop v1.3.0 darwin/arm64

======= go.mod
module hello

go 1.24

require github.com/goplus/yap v0.8.1 //gop:class

@akofer
Copy link

akofer commented Mar 8, 2025

I encountered the same issue. Before running gop mod tidy, you need to add a dependency. Please run this command:

$ gop get github.com/qiniu/x@latest

and then gop mod tidy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants