错误构建h2o steam binary:lib / yarn / yarn.go:22:2:在以下任何一个中找不到包“context”:

时间:2016-09-28 17:25:18

标签: go yarn h2o

在关注h2o steam dev setup guide后遇到此错误:

enter image description here

作为文字

➜ 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

1 个答案:

答案 0 :(得分:1)

更新转到go1.7.1解决了问题。要更新,请按照golang.org上的说明进行操作: