I'm getting errors in go mod tidy about not finding the right github.com/qor5/admin/v3 package #888
Unanswered
eideroliveira
asked this question in
Q&A
Replies: 1 comment
-
I'm having the same error while trying to import github.com/qor5/admin/v3 module to my project! go: finding module for package github.com/qor5/admin/v3 waiting for instructions. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I could reproduce the error in more than one computer:
mkdir ~/testproject2 # A completely new directory
cd ~/testproject2
go mod init testproject2
go get -v github.com/qor5/admin/[email protected]
cat < main.go
package main
import (
"github.com/qor5/admin/v3"
"github.com/qor5/admin/v3/presets" // Import a subpackage as well
)
func main() {
_ = admin.New
_ = presets.New()
}
EOF
go mod tidy
go: testproject2 imports
github.com/qor5/admin/v3: module github.com/qor5/admin/v3@latest found (v3.2.0), but does not contain package github.com/qor5/admin/v3
any advice?
Beta Was this translation helpful? Give feedback.
All reactions