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

Installation fails on M1 #88

Closed rvarun11 closed 2 years ago

rvarun11 commented 2 years ago

Running buffalo plugins install github.com/gobuffalo/buffalo-auth gives the following error on M1:

# golang.org/x/sys/unix
../../go/pkg/mod/golang.org/x/sys@v0.0.0-20200124204421-9fbb57f87de9/unix/syscall_darwin.1_13.go:25:3: //go:linkname must refer to declared function or variable
../../go/pkg/mod/golang.org/x/sys@v0.0.0-20200124204421-9fbb57f87de9/unix/zsyscall_darwin_arm64.1_13.go:27:3: //go:linkname must refer to declared function or variable
../../go/pkg/mod/golang.org/x/sys@v0.0.0-20200124204421-9fbb57f87de9/unix/zsyscall_darwin_arm64.1_13.go:40:3: //go:linkname must refer to declared function or variable
../../go/pkg/mod/golang.org/x/sys@v0.0.0-20200124204421-9fbb57f87de9/unix/zsyscall_darwin_arm64.go:28:3: //go:linkname must refer to declared function or variable
../../go/pkg/mod/golang.org/x/sys@v0.0.0-20200124204421-9fbb57f87de9/unix/zsyscall_darwin_arm64.go:43:3: //go:linkname must refer to declared function or variable
../../go/pkg/mod/golang.org/x/sys@v0.0.0-20200124204421-9fbb57f87de9/unix/zsyscall_darwin_arm64.go:59:3: //go:linkname must refer to declared function or variable
../../go/pkg/mod/golang.org/x/sys@v0.0.0-20200124204421-9fbb57f87de9/unix/zsyscall_darwin_arm64.go:75:3: //go:linkname must refer to declared function or variable
../../go/pkg/mod/golang.org/x/sys@v0.0.0-20200124204421-9fbb57f87de9/unix/zsyscall_darwin_arm64.go:90:3: //go:linkname must refer to declared function or variable
../../go/pkg/mod/golang.org/x/sys@v0.0.0-20200124204421-9fbb57f87de9/unix/zsyscall_darwin_arm64.go:105:3: //go:linkname must refer to declared function or variable
../../go/pkg/mod/golang.org/x/sys@v0.0.0-20200124204421-9fbb57f87de9/unix/zsyscall_darwin_arm64.go:121:3: //go:linkname must refer to declared function or variable
../../go/pkg/mod/golang.org/x/sys@v0.0.0-20200124204421-9fbb57f87de9/unix/zsyscall_darwin_arm64.go:121:3: too many errors
Usage:
  buffalo plugins install [flags]

Flags:
  -d, --dry-run   dry run
  -h, --help      help for install
      --vendor    will install plugin binaries into ./plugins [WINDOWS not currently supported]
  -v, --verbose   turn on verbose logging

ERRO[0000] Error: exit status 2            

Installed plugin support using: go get -u -v github.com/gobuffalo/buffalo-plugins Buffalo Version: 0.18.5 Go Version: 1.18.2 darwin/arm64

rvarun11 commented 2 years ago

closing as duplicate of https://github.com/gobuffalo/buffalo-goth/issues/46

sio4 commented 2 years ago

As the same as https://github.com/gobuffalo/buffalo-goth/issues/46, the issue would be resolved by using the latest version just released.

$ buffalo plugins install github.com/gobuffalo/buffalo-auth@latest

Closing, but please feel free to reopen if the issue is not fixed by the latest version v1.4.0