【问题描述】
git clone pd后,放置于$GOPATH/src/github.com/tikv/pd路径下,make的时候报错
golangci/golangci-lint info checking GitHub for tag ‘v1.38.0’
golangci/golangci-lint crit unable to find ‘v1.38.0’ - use ‘latest’ or see https://github.com/golangci/golangci-lint/releases for details
make: *** [install-go-tools] Error 1
请问是我编译的方式不对吗
2021/03/18 16:43:21 create swagger.json at docs/swagger/swagger.json
2021/03/18 16:43:21 create swagger.yaml at docs/swagger/swagger.yaml
go mod tidy
rm -rf vendor
./scripts/embed-dashboard-ui.sh
+ Clean up existing asset file
+ Fetch TiDB Dashboard Go module
- TiDB Dashboard directory: /root/go/pkg/mod/github.com/pingcap-incubator/tidb-dashboard@v0.0.0-20210104140916-41a0a3a87e75
+ Create asset cache directory
+ Discover TiDB Dashboard release version
- TiDB Dashboard release version: 2021.01.04.1
+ Check embedded assets exists in cache
- Cached archive does not exist
- Download pre-built embedded assets from GitHub release
- Download https://github.com/pingcap-incubator/tidb-dashboard/releases/download/v2021.01.04.1/embedded-assets-golang.zip
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
curl: (35) TCP connection reset by peer
Error: Failed to download assets of TiDB Dashboard release version 2021.01.04.1.
This may be caused by using a non-release version of TiDB Dashboard, or the release is still in progress.
To compile PD without TiDB Dashboard: DASHBOARD=0 make
To compile PD by building TiDB Dashboard assets on-the-fly: DASHBOARD=COMPILE make or NO_MINIMIZE=1 DASHBOARD=COMPILE make