我在运行 go install $(glide nv) 命令时遇到问题。我从 go workspace 目录的 src 文件夹中的项目文件夹中运行此命令
所以基本上我这样做:
%GOPATH%/src/my/project/ go install $(glide nv)
我得到的错误信息如下:
can't load package: package $(glide: cannot find package "$(glide" in any of:
C:\Go\src\$(glide (from $GOROOT)
W:\GO_WORKSPACE\src\$(glide (from $GOPATH)
can't load package: package nv): cannot find package "nv)" in any of:
C:\Go\src\nv) (from $GOROOT)
W:\GO_WORKSPACE\src\nv) (from $GOPATH)
我之前在那个项目上运行 glide install 没有问题。
我错过了什么?