nebulasio / wiki

This repository is out of date, please check the new wiki:
http://wiki.nebulas.io/en/latest/
GNU General Public License v3.0
421 stars 154 forks source link

mac make dep步骤出错 #163

Closed wangyuan033 closed 6 years ago

wangyuan033 commented 6 years ago
dep ensure -v
/path/to/workspace/src/github.com/nebulasio/go-nebulas is not within a known GOPATH/src
make: *** [dep] Error 1
ChengOrangeJu commented 6 years ago

请echo $GOPATH查看是否为正确设置的路径

wangyuan033 commented 6 years ago

路径正确

Jimi2333 commented 6 years ago

我也遇到了错误 image

wangMengLiang commented 6 years ago
localhost:go-nebulas wangmengliang$ sudo make dep
dep ensure -v
/path/to/workspace/src/github.com/nebulasio/go-nebulas is not within a known GOPATH/src
make: *** [dep] Error 1
localhost:go-nebulas wangmengliang$ echo $GOPATH
/path/to/workspace
localhost:go-nebulas wangmengliang$ 

同样的问题,在两台电脑上都遇到了,请帮忙看一下

automaticly commented 6 years ago

我也是这个问题,解决了吗

kjs1715 commented 6 years ago

GOPATH改成/Users/用户/工作区(新建的文件夹)