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
Uh oh!
There was an error while loading. Please reload this page.
-
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