Closed agbaraka closed 4 years ago
On running: buffalo plugins install github.com/gobuffalo/buffalo-auth
, I get the following error:
# github.com/gobuffalo/buffalo/render
../../../go/pkg/mod/github.com/gobuffalo/buffalo@v0.14.11/render/template_helpers.go:21:23: cannot use "github.com/gobuffalo/helpers/tags".JS (type func(string, "github.com/gobuffalo/tags/v3".Options) "html/template".HTML) as type func(string, "github.com/gobuffalo/tags".Options) "html/template".HTML in field value
../../../go/pkg/mod/github.com/gobuffalo/buffalo@v0.14.11/render/template_helpers.go:22:23: cannot use "github.com/gobuffalo/helpers/tags".CSS (type func(string, "github.com/gobuffalo/tags/v3".Options) "html/template".HTML) as type func(string, "github.com/gobuffalo/tags".Options) "html/template".HTML in field value
../../../go/pkg/mod/github.com/gobuffalo/buffalo@v0.14.11/render/template_helpers.go:23:16: cannot use "github.com/gobuffalo/helpers/tags".Img (type func(string, "github.com/gobuffalo/tags/v3".Options) "html/template".HTML) as type func(string, "github.com/gobuffalo/tags".Options) "html/template".HTML in field value
Same issue here when running the above commands. Thanks in advance!
go version go1.13.7 linux/amd64 Buffalo version is: v0.15.4
Figured out a fix. Running the following commands successfully installed the auth plugin for me.
go get -u github.com/gobuffalo/buffalo
go get -u github.com/gobuffalo/buffalo-auth
buffalo plugins install github.com/gobuffalo/buffalo-auth
buffalo generate auth
Hello,
Plugin installation fails when running:
go version go1.13 darwin/amd64 Buffalo version is: v0.15.4