Install fails on M1 mac
ashish10alex opened this issue · 3 comments
ashish10alex commented
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
- OS Version: Mac OS Monterey 12.6.1, M1 pro
ashish10alex commented
Managed to solve the above by using
export GO111MODULE=on
export GOPROXY=https://goproxy.cn/
mattn commented
This is already resolved?
mattn commented
please file new issue if you still have same issue.