请问一下vscode为啥不能下载这些包啊

WithLin · · 3073 次点击 · 开始浏览    置顶
这是一个创建于 的主题,其中的信息可能已经有所发展或是发生改变。

Installing 4 tools go-symbols godef gotests dlv Installing go-symbols FAILED Installing godef FAILED Installing gotests FAILED Installing dlv FAILED 4 tools failed to install. go-symbols: Error: Command failed: C:\Go\bin\go.exe get -u -v github.com/acroca/go-symbols github.com/acroca/go-symbols (download) Fetching https://golang.org/x/tools/go/buildutil?go-get=1 Parsing meta tags from https://golang.org/x/tools/go/buildutil?go-get=1 (status code 200) get "golang.org/x/tools/go/buildutil": found meta tag main.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/go/buildutil?go-get=1 get "golang.org/x/tools/go/buildutil": verifying non-authoritative meta tag Fetching https://golang.org/x/tools?go-get=1 Parsing meta tags from https://golang.org/x/tools?go-get=1 (status code 200) package golang.org/x/tools/go/buildutil: golang.org/x/tools is a custom import path for https://go.googlesource.com/tools, but D:\Go\src\golang.org\x\tools is checked out from https://github.com/golang/tools github.com/acroca/go-symbols (download) Fetching https://golang.org/x/tools/go/buildutil?go-get=1 Parsing meta tags from https://golang.org/x/tools/go/buildutil?go-get=1 (status code 200) get "golang.org/x/tools/go/buildutil": found meta tag main.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/go/buildutil?go-get=1 get "golang.org/x/tools/go/buildutil": verifying non-authoritative meta tag Fetching https://golang.org/x/tools?go-get=1 Parsing meta tags from https://golang.org/x/tools?go-get=1 (status code 200) package golang.org/x/tools/go/buildutil: golang.org/x/tools is a custom import path for https://go.googlesource.com/tools, but D:\Go\src\golang.org\x\tools is checked out from https://github.com/golang/tools godef: Error: Command failed: C:\Go\bin\go.exe get -u -v github.com/rogpeppe/godef # cd D:\Go\src\github.com\rogpeppe\godef; git config remote.origin.url package github.com/rogpeppe/godef: remote origin not found # cd D:\Go\src\github.com\rogpeppe\godef; git config remote.origin.url package github.com/rogpeppe/godef: remote origin not found gotests: Error: Command failed: C:\Go\bin\go.exe get -u -v github.com/cweill/gotests/... # cd D:\Go\src\github.com\cweill\gotests; git config remote.origin.url package github.com/cweill/gotests/...: remote origin not found # cd D:\Go\src\github.com\cweill\gotests; git config remote.origin.url package github.com/cweill/gotests/...: remote origin not found dlv: Error: Command failed: C:\Go\bin\go.exe get -u -v github.com/derekparker/delve/cmd/dlv github.com/derekparker/delve (download) # cd D:\Go\src\github.com\derekparker\delve; git pull --ff-only fatal: Not a git repository (or any of the parent directories): .git package github.com/derekparker/delve/cmd/dlv: exit status 128 github.com/derekparker/delve (download) # cd D:\Go\src\github.com\derekparker\delve; git pull --ff-only fatal: Not a git repository (or any of the parent directories): .git package github.com/derekparker/delve/cmd/dlv: exit status 128

有疑问加站长微信联系(非本文作者)

入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889

3073 次点击  
加入收藏 微博
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传