在关注h2o steam dev setup guide后遇到此错误:
作为文字
➜ steam git:(master) pwd
/Users/m/workspace/go-workspace/src/github.com/h2oai/steam
➜ steam git:(master) make
go build
lib/yarn/yarn.go:22:2: cannot find package "context" in any of:
/Users/m/workspace/go-workspace/src/github.com/h2oai/steam/vendor/context (vendor tree)
/usr/local/go/src/context (from $GOROOT)
/Users/m/workspace/go-workspace/src/context (from $GOPATH)
make: *** [build] Error 1
如何成功运行make
?
答案 0 :(得分:1)
更新转到go1.7.1
解决了问题。要更新,请按照golang.org上的说明进行操作: