ssh-aliases icon indicating copy to clipboard operation
ssh-aliases copied to clipboard

Unable to install ssh-aliases on M1 Mac

Open igorhrcek opened this issue 3 years ago • 0 comments

When running brew install ssh-aliases I get this:

 ~  brew install ssh-aliases                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              1 ✘  13:06:15
==> Installing ssh-aliases from dankraw/ssh-aliases
==> Cloning https://github.com/dankraw/ssh-aliases.git
Updating /Users/igor/Library/Caches/Homebrew/ssh-aliases--git
==> Checking out tag v0.3.2
HEAD is now at 313365b Release v0.3.2
HEAD is now at 313365b Release v0.3.2
==> make
Last 15 lines from /Users/igor/Library/Logs/Homebrew/ssh-aliases/01.make:

make

go: cannot find main module, but found Gopkg.lock in /private/tmp/ssh-aliases-20210514-64924-14nj8qz/gopath/src/github.com/dankraw/ssh-aliases
	to create a module there, run:
	go mod init
go: cannot find main module, but found Gopkg.lock in /private/tmp/ssh-aliases-20210514-64924-14nj8qz/gopath/src/github.com/dankraw/ssh-aliases
	to create a module there, run:
	go mod init
make: *** [clean] Error 1
make: *** Waiting for unfinished jobs....
go: cannot find main module, but found Gopkg.lock in /private/tmp/ssh-aliases-20210514-64924-14nj8qz/gopath/src/github.com/dankraw/ssh-aliases
	to create a module there, run:
	go mod init
make: *** [build] Error 1

Additional info: GO version: go version go1.16.3 darwin/arm64 OS: macOS 11.2.3 Platform: M1

igorhrcek avatar May 14 '21 11:05 igorhrcek