Got the error while running a golang for the first time in mac

go build -i cause open /usr/local/go/pkg/darwin_amd64/runtime/cgo.a: permission denied


Navigate to the folder and type in the following command

sudo chmod -R 777 /usr/local/go, which will prompt to type in the mac password.





No comments:

 My Attempt to learn AI  GPT Generative Pretrained Transformer Created by Google in 2017 with the publication of the paper "Attention ...

Popular in last 30 days