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/pkg/mod/github.com/nicksherron/bashhub-server@v0.2.5/internal/db.go:74:5: undefined: sqlite3.SQLiteDriver #22

Open
hongyi-zhao opened this issue Aug 26, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@hongyi-zhao
Copy link

On Ubuntu 20.04.2 LTS, I try to install bashhub-server but encountered the following problem:

$ go version
go version devel go1.17-fd3612e433 Sat Apr 17 00:02:01 2021 +0000 linux/amd64

$ go get -u github.com/nicksherron/bashhub-server
go: downloading github.com/spf13/cobra v1.2.1
go: downloading github.com/cheggaaa/pb v1.0.29
go: downloading github.com/jinzhu/gorm v1.9.16
go: downloading github.com/lib/pq v1.10.2
go: downloading github.com/fatih/color v1.12.0
go: downloading github.com/inconshreveable/mousetrap v1.0.0
go: downloading github.com/appleboy/gin-jwt v1.0.1
go: downloading github.com/appleboy/gin-jwt/v2 v2.6.4
go: downloading github.com/gin-gonic/gin v1.7.4
go: downloading github.com/cheggaaa/pb/v3 v3.0.8
go: downloading github.com/appleboy/gin-jwt v2.5.0+incompatible
go: downloading github.com/mattn/go-isatty v0.0.13
go: downloading github.com/json-iterator/go v1.1.7
go: downloading github.com/mattn/go-runewidth v0.0.13
go: downloading github.com/VividCortex/ewma v1.2.0
go: downloading github.com/json-iterator/go v1.1.11
go: downloading gopkg.in/go-playground/validator.v9 v9.31.0
go: downloading github.com/modern-go/reflect2 v1.0.1
go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: downloading github.com/ugorji/go/codec v1.2.6
go: downloading github.com/golang/protobuf v1.5.2
go: downloading github.com/leodido/go-urn v1.2.1
go: downloading github.com/go-playground/universal-translator v0.18.0
go: downloading github.com/go-playground/locales v0.14.0
go: downloading github.com/ugorji/go v1.2.6
go: downloading golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1
go: downloading github.com/go-playground/validator/v10 v10.4.1
go: downloading google.golang.org/protobuf v1.26.0
go: downloading github.com/go-playground/validator v9.31.0+incompatible
go: downloading github.com/go-playground/validator/v10 v10.9.0
go: downloading google.golang.org/protobuf v1.27.1
go: downloading golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b
go: downloading golang.org/x/text v0.3.7
go: downloading github.com/dgrijalva/jwt-go v1.0.2
go: downloading github.com/mattn/go-sqlite3 v1.14.8
go get: installing executables with 'go get' in module mode is deprecated.
	Use 'go install pkg@version' instead.
	For more information, see https://golang.org/doc/go-get-install-deprecation
	or run 'go help get' or 'go help install'.
# github.com/nicksherron/bashhub-server/internal
go/pkg/mod/github.com/nicksherron/bashhub-server@v0.2.5/internal/db.go:74:5: undefined: sqlite3.SQLiteDriver

Any hints for fixing this problem?

Regards,
HY

@hongyi-zhao hongyi-zhao added the bug Something isn't working label Aug 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant