sqls-server/sqls

Install fails on M1 mac

ashish10alex opened this issue · 3 comments

I am getting the below error despite having done go install github.com/lighttiger2505/sqls@latest
strangely enough the process worked in my intel mac but not on the M1 mac. Is there an additional step I might be missing ?

Additional context ->
my sqls file resides in /Users/username/go/bin which the the case for my intel mac as well.
However I had to run export GOPROXY=direct on M1 mac before running go install github.com/lighttiger2505/sqls@latest

CleanShot 2022-11-06 at 11 09 00@2x

  • OS Version: Mac OS Monterey 12.6.1, M1 pro

Managed to solve the above by using

export GO111MODULE=on
export GOPROXY=https://goproxy.cn/

This is already resolved?

please file new issue if you still have same issue.