dreamans / syncd

syncd是一款开源的代码部署工具,它具有简单、高效、易用等特点,可以提高团队的工作效率.
https://github.com/dreamans/syncd/tree/master/docs
MIT License
2.24k stars 372 forks source link

无法获取'/home/lin/.syncd-repo/output' 的文件状态(stat) #77

Open jigangqinnian opened 5 years ago

jigangqinnian commented 5 years ago

无法获取'/home/lin/.syncd-repo/output' 的文件状态(stat)

dreamans commented 5 years ago

请详细描述一下问题。

lunar-lu commented 5 years ago

-bash-4.1# curl https://syncd.cc/install.sh | bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
113   794  113   794    0     0    143      0  0:00:05  0:00:05 --:--:--  7153
Initialized empty Git repository in /root/.syncd-repo/.git/
remote: Enumerating objects: 4, done.
remote: Counting objects: 100% (4/4), done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 3685 (delta 0), reused 0 (delta 0), pack-reused 3681
Receiving objects: 100% (3685/3685), 12.81 MiB | 193 KiB/s, done.
Resolving deltas: 100% (1512/1512), done.
clean start >>>
rm -fr ./output
rm -f syncd_bin
>>> clean complete
build syncd start >>>
GOPROXY=https://goproxy.io go mod tidy
go build -o syncd_bin ./syncd/main.go
build command-line-arguments: cannot load github.com/Unknwon/goconfig: cannot find module providing package github.com/Unknwon/goconfig
make: *** [build] 错误 1
cp: 无法获取"/root/.syncd-repo/output" 的文件状态(stat): 没有那个文件或目录

Installing Syncd Path:  /data/runtime/syncd-deploy
Install complete.

我也碰到了

lunar-lu commented 5 years ago

是 go 依赖下载的问题,使用 goproxy 解决. https://goproxy.io/

daiyuer commented 4 years ago

是 go 依赖下载的问题,使用 goproxy 解决. https://goproxy.io/

具体怎么操作的