Failed to launch: could not launch process: can not run under Rosetta, check that the installed build of Go is right for your CPU architecture
更新于 阅读 23 次
M1电脑vscode调试go时报错:
Failed to launch: could not launch process: can not run under Rosetta, check that the installed build of Go is right for your CPU architecture
这是由于dlv
再Rosetta
不起作用,在M1电脑上安装go
的arm64
版本后,按住shift
+ command
+ p
执行 Go: Install/Update Tools
命令重新编译所有工具即可。