Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⏳Go 第一坑 #54

Open
Ray-56 opened this issue Jun 28, 2022 · 0 comments
Open

⏳Go 第一坑 #54

Ray-56 opened this issue Jun 28, 2022 · 0 comments
Labels
Go Go Lang 相关

Comments

@Ray-56
Copy link
Owner

Ray-56 commented Jun 28, 2022

Go 第一坑

由于刚开始使用,遇坑记录

大致记录

  1. Debug 调试报错 Failed to continue: "Error: connect ECONNREFUSED 127.0.0.1:44354"
  2. 修改launch配置 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
    定位到是 Go语言版本问题,卸载旧版本,下载 arm64 版本。继续报错,发现 VsCode 也版本不对,卸载后安装正确版本
  3. 执行 Debug 继续报错 Failed to launch: could not launch process: EOF
    发现是 CommandLineTools 的问题,删除了旧版本,下载新版本,重启机器,安装新版本,再执行。执行正确

See Also

@Ray-56 Ray-56 added the Go Go Lang 相关 label Jun 28, 2022
@Ray-56 Ray-56 changed the title Go 第一坑 ⏳Go 第一坑 Jun 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Go Go Lang 相关
Projects
None yet
Development

No branches or pull requests

1 participant