gobuffalo / buffalo-auth

Buffalo auth plugin helps adding username password authentication to your app
https://gobuffalo.io
MIT License
41 stars 28 forks source link

Plugin installation fails #73

Closed agbaraka closed 4 years ago

agbaraka commented 4 years ago

Hello,

Plugin installation fails when running:

$ go get -u github.com/gobuffalo/buffalo-auth
$ buffalo plugins install github.com/gobuffalo/buffalo-auth

go version go1.13 darwin/amd64 Buffalo version is: v0.15.4

agbaraka commented 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
strongishllama commented 4 years ago

Same issue here when running the above commands. Thanks in advance!

go version go1.13.7 linux/amd64 Buffalo version is: v0.15.4

strongishllama commented 4 years ago

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