当按照macOS 的 TinyGo 快速安装指南进行操作时,我遇到了以下错误:Error: The contents of the SDKs in your Command Line Tools (CLT) installation do not match the SDK folder names.
% brew install tinygo
==> Installing tinygo from tinygo-org/tools
Error: The contents of the SDKs in your Command Line Tools (CLT) installation do not match the SDK folder names.
A clean reinstall of Command Line Tools (CLT) should fix this.
完整的安装说明只是两个命令:
% brew tap tinygo-org/tools
% brew install tinygo
CLT 当前安装在/Library/Developer/CommandLineTools如下所示xcode-select --print-path:
% xcode-select --print-path
/Library/Developer/CommandLineTools
pkgutil显示我有最新的安装:
% pkgutil --pkg-info=com.apple.pkg.CLTools_Executables
package-id: com.apple.pkg.CLTools_Executables
version: 13.4.0.0.1.1651278267
volume: /
location: /
install-time: 1654474872
groups: com.apple.FindSystemFiles.pkg-group
重新安装命令行工具导致路径相同并在本文“如何在 Mac OS X 中安装命令行工具(无 Xcode) ”中得到确认。TinyGo 想要将命令行工具安装在哪里,如何安装在那里?
扬帆大鱼
相关分类