tonymj
02/11/2019, 9:14 AMvar DefaultEndpoint = ""<http://localhost:4466>""
to var DefaultEndpoint = "<http://localhost:4466>"
in v1.25.. Right now am facing a huge error that i don't know how to solve each time i run go run script/gqlgen.go
. The funny thing is this code runs fine until the upgrade
this is the error: /home/tonymj/gocode/pkg/mod/github.com/prisma/prisma-client-lib-go@v0.0.0-20181017161110-68a1f9908416/exec.go:7:2: could not import <http://github.com/mitchellh/mapstructure|github.com/mitchellh/mapstructure> (cannot find package "<http://github.com/mitchellh/mapstructure|github.com/mitchellh/mapstructure>" in any of:
/snap/go/3129/src/github.com/mitchellh/mapstructure (from $GOROOT)
/home/tonymj/gocode/src/github.com/mitchellh/mapstructure (from $GOPATH))
/home/tonymj/gocode/pkg/mod/github.com/prisma/prisma-client-lib-go@v0.0.0-20181017161110-68a1f9908416/lib.go:8:6: could not import <http://github.com/dgrijalva/jwt-go|github.com/dgrijalva/jwt-go> (cannot find package "<http://github.com/dgrijalva/jwt-go|github.com/dgrijalva/jwt-go>" in any of:
/snap/go/3129/src/github.com/dgrijalva/jwt-go (from $GOROOT)
/home/tonymj/gocode/src/github.com/dgrijalva/jwt-go (from $GOPATH))
/home/tonymj/gocode/pkg/mod/github.com/prisma/prisma-client-lib-go@v0.0.0-20181017161110-68a1f9908416/lib.go:9:2: could not import <http://github.com/machinebox/graphql|github.com/machinebox/graphql> (cannot find package "<http://github.com/machinebox/graphql|github.com/machinebox/graphql>" in any of:
/snap/go/3129/src/github.com/machinebox/graphql (from $GOROOT)
/home/tonymj/gocode/src/github.com/machinebox/graphql (from $GOPATH))
/home/tonymj/gocode/src/github.com/tonymj76/Job/generated/prisma-client/prisma.go:54:40: cannot use opts (variable of type []<http://github.com/machinebox/graphql.ClientOption)|github.com/machinebox/graphql.ClientOption)> as []invalid type value in argument to prisma.New
validation failed: couldn't load packages due to errors: <http://github.com/tonymj76/Job/generated/prisma-client|github.com/tonymj76/Job/generated/prisma-client>, <http://github.com/prisma/prisma-client-lib-go|github.com/prisma/prisma-client-lib-go>
exit status 2
divyendu
02/11/2019, 9:30 AMdep ensure
or go get ./...
or somethingtonymj
02/11/2019, 9:37 AMdep ensure
when is not working i also did go get each package
Harshit
02/11/2019, 2:04 PMdivyendu
02/11/2019, 2:04 PMHarshit
02/11/2019, 2:05 PM