gopls not working at apple m1 visual studio code 1.54.3
ini output errornya
Tools environment: GOPATH=/Users/rifanfauzi/go
Installing 1 tool at /Users/rifanfauzi/go/bin in module mode.
[email protected]
Installing golang.org/x/tools/[email protected] FAILED
{
"killed": false,
"code": 2,
"signal": null,
"cmd": "/usr/local/go/bin/go get -v golang.org/x/tools/[email protected]",
"stdout": "",
"stderr": "os/user\n# os/user\nxcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun\n"
}
1 tools failed to install.
gopls: failed to install gopls(golang.org/x/tools/[email protected]): Error: Command failed: /usr/local/go/bin/go get -v golang.org/x/tools/[email protected]
os/user
# os/user
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
no output
solusinya adalah
xcode-select --install
Komentar
Posting Komentar