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

Buffalo-auth fails to go-get, no component to generate #33

Closed raqbit closed 5 years ago

raqbit commented 5 years ago

When I try to install bufallo-auth:

go get -u github.com/gobuffalo/buffalo-auth

...
go: downloading golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223
go: finding github.com/gobuffalo/genny/movinglater/plushgen latest
go: finding github.com/gobuffalo/genny/movinglater latest
go build github.com/gobuffalo/genny/movinglater/plushgen: no Go files in 

buffalo g auth > Shows buffalo generate help menu without any mention of auth.

I am using go modules (GO111MODULE=on) and running the first command in my project directory.

go version: go version go1.11.5 linux/amd64

buffalo version: Buffalo version is: v0.14.0

raqbit commented 5 years ago

buffalo-auth auth is working.

owen2345 commented 5 years ago

Hey @Raqbit How did you fix the problem?

raqbit commented 5 years ago

I was not able to use buffalo g auth, but I was able to use buffalo-auth, which is a binary located in $GOPATH/bin. I think this might be used under the hood by buffalo g auth.

owen2345 commented 5 years ago

You are right, thank you!

markbates commented 5 years ago

Plugins need to be installed into your application before you can use them https://www.gobuffalo.io/en/docs/plugins#installing-plugins