从vscode shell安装扩展会产生致命错误

I am encountering an error when trying to install extensions from vscode on Windows 10 x64.

For instance, when I start up vscode, in the bottom right notification area, I see "Analysis Tools Missing". Clicking on this generates an info bar "Some Go analysis tools are missing from your GOPATH. Would you like to install them?"

Hitting the install button generates errors:

Installing 1 tool gotests

Installing github.com/cweill/gotests/... FAILED

1 tools failed to install.

gotests: Error: Command failed: C:\Go\bin\go.exe get -u -v github.com/cweill/gotests/... github.com/cweill/gotests (download)

cd C:\Users\jchat\Documents\Projects\go\src\github.com\cweill\gotests;

git submodule update --init --recursive

fatal: 'submodule' appears to be a git command, but we were not able to execute it. Maybe git-submodule is broken?

package github.com/cweill/gotests: exit status 128

...

I can execute the command go get -u -v github.com/cweill/gotests/ successfully from Git Bash outside of vscode

Is there some configuration I am missing to get this working seamlessly?

查看全部
duangou1933
duangou1933
2017/09/04 21:05
  • it技术
  • 互联网问答
  • IT行业问题
  • 编程语言问答
  • 计算机技术
  • 点赞
  • 收藏
  • 回答
    私信

1个回复