bashhub-server icon indicating copy to clipboard operation
bashhub-server copied to clipboard

go/pkg/mod/github.com/nicksherron/[email protected]/internal/db.go:74:5: undefined: sqlite3.SQLiteDriver

Open hongyi-zhao opened this issue 2 years ago • 0 comments

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/[email protected]/internal/db.go:74:5: undefined: sqlite3.SQLiteDriver

Any hints for fixing this problem?

Regards, HY

hongyi-zhao avatar Aug 26 '21 00:08 hongyi-zhao