-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
cannot load github.com/mattn/go-sqlite3: module github.com/mattn/go-sqlite3@latest (v2.0.0+incompatible) found, but does not contain package github.com/mattn/go-sqlite3 #755
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
Comments
Fixed. |
I am having the same issue on osx. Here are my go environment variables:
Running |
Please try -u |
What was the issue exactly ? |
https://proxy.golang.org/github.com/mattn/go-sqlite3/@v/list |
The cause of this issue is that this repository had topic branch v2.0.0. So I removed it. Please remove local cache with |
Still happening. |
I guess that proxy.golang.org has cached the invalid version. |
@pierrre I think so too. But it means new users will always get the error? I worked it around by appending to
Then cloning the repository locally and adding a
I suggest adding the |
@gdm85 or maybe you can just add |
I believe this tag is breaking compatibility when imported by a Go module. I can see an issue trying to build github.com/rubenv/sql-migrate/sql-migrate: cannot load github.com/mattn/go-sqlite3: module github.com/mattn/go-sqlite3@latest found (v2.0.0+incompatible), but does not contain package github.com/mattn/go-sqlite3 |
Sorry, but I will NOT release v2.0.1 or higher just to fix this issue. |
It's a shame that you won't follow the Go modules convention 😞 |
Because the broken tag was a topic branch (not git tag) created before the go module was supported. We don't have mistake. I don't understand the reason for vote down. |
Should we ask maintainers of proxy.golang.org to purge the cache ? |
I asked on this issue golang/go#33558 (comment) |
They say adding go.mod should fix this. |
I will keep this issue open until we will find a fundamental solution for this issue. |
@posener it requires Go 1.14 |
If you want to solve this issue immediately, please try to do in your repository (Do NOT run it outside of your repository)
|
@mattn the problem is that I run IMO the simplest fix is
|
I have question here, what is ./vendor directory?? can you give me detailed explanation of how this works?? I am new to go and cfssl. I just used the go get command provided. and it landed me on to this error. would appreciate it if you can help me a little |
@velurinavya the The Or just do as @pierrre mentioned and add the url of this repo to your |
fixes incompatibility with go1.13, see mattn/go-sqlite3#755
Bypassing the proxy and going direct helped me resolve this issue with a binary install. eg. GOPROXY=direct go get -u github.com/volatiletech/sqlboiler-sqlite3 |
@mattn this high profile package is currently broken:
Could you please release a new version that fixes it? |
I asked on Go' issues, But no any replies for about fixing this issue. So I'll add new tag in later. |
Now tagged v2.0.1. Your issues will be fixed with |
@mattn just a suggestion: maybe you should point this tag v2.0.x to an empty branch ? PS: you could include a message to the readme pointing to this issue. |
I tagged v1.14.0 for latest release. If you are using v2.0.3 already, please use v1.14.0 instead. See #812 (comment) |
This package doesn't seem to work with go modules. Here's a simple recipe in Docker, to make it easy to reproduce. Please tell me what I'm doing wrong:
The text was updated successfully, but these errors were encountered: