'GoDep' is not recognized as an internal or external command

依然范特西╮ 提交于 2019-12-13 08:54:53

问题


I am trying to deploy my Go App on heroku, for which I am using Godep as build pack. After installing godep using the command

go get github.com/tools/godep

when I try to run

godep save

I am getting the error which states that 'godep' is not recognised as an internal or external command.

Below is my env variables.

Can someone please point out where I am going wrong ?


回答1:


Setting the GOBIN value in the environment variables fixed the issue.



来源:https://stackoverflow.com/questions/49224055/godep-is-not-recognized-as-an-internal-or-external-command

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!