第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請及時(shí)綁定郵箱和手機(jī)立即綁定
已解決430363個(gè)問題,去搜搜看,總會(huì)有你想問的

使用 glide 安裝 go-ethereum 依賴項(xiàng)和 tendermint 依賴項(xiàng)

使用 glide 安裝 go-ethereum 依賴項(xiàng)和 tendermint 依賴項(xiàng)

Go
蕪湖不蕪 2023-03-29 16:13:06
我正在使用“glide”來管理我的 go 包,這是我的 glide.yaml:package: github.com/my-projectimport:- package: github.com/ethereum/go-ethereum  version: 1.8.14  subpackages:  - cmd/utils  - common  - common/hexutil  - consensus/ethash  - core  - core/state  - core/types  - core/vm  - eth  - ethdb  - event  - log  - node  - p2p  - params  - rlp  - rpc- package: github.com/tendermint/tendermint  version: 0.23.0  subpackages:  - abci/types  - libs/log  - rpc/lib/client- package: gopkg.in/urfave/cli.v1testImport:- package: github.com/stretchr/testify  subpackages:  - assert- package: github.com/tendermint/go-amino當(dāng)我運(yùn)行 glide install 時(shí),會(huì)出現(xiàn)一些錯(cuò)誤:[INFO]  --> Fetching updates for github.com/mattn/go-colorable[INFO]  --> Fetching updates for github.com/huin/goupnp[INFO]  --> Fetching updates for github.com/jackpal/go-nat-pmp[ERROR] Error scanning github.com/prometheus/prometheus/util/flock: cannot find package "." in:    /root/.glide/cache/src/https-github.com-prometheus- prometheus/util/flock[INFO]  --> Fetching updates for github.com/elastic/gosigar[INFO]  --> Fetching updates for github.com/mohae/deepcopy[INFO]  --> Fetching updates for github.com/influxdata/influxdb...[ERROR] Error scanning golang.org/x/sys/cpu: cannot find package "." in:/root/.glide/cache/src/https-github.com-golang-sys/cpu[INFO]  --> Fetching updates for github.com/matttproud/golang_protobuf_extensions[INFO]  --> Setting version for github.com/matttproud/golang_protobuf_extensions to 3247c84500bff8d9fb6d579d800f20b3e091582c. [ERROR] Failed to retrieve a list of dependencies: Error resolving imports所以我嘗試將 glide mirror 更改為我的本地文件(我已經(jīng)克隆了所有依賴項(xiàng)),但它仍然無法正常工作,如果有人知道如何處理它,請幫助我,謝謝
查看完整描述

1 回答

?
慕俠2389804

TA貢獻(xiàn)1719條經(jīng)驗(yàn) 獲得超6個(gè)贊

我弄明白了,只需設(shè)置鏡像,而忽略一些包,就像這樣


glide mirror set https://golang.org/x/mobile https://github.com/golang/mobile --vcs git

glide mirror set https://golang.org/x/crypto https://github.com/golang/crypto --vcs git

....

忽略


- github.com/prometheus/prometheus/util/flock

- golang.org/x/sys/cpu

- golang.org/x/net/http2/hpack


查看完整回答
反對 回復(fù) 2023-03-29
  • 1 回答
  • 0 關(guān)注
  • 186 瀏覽

添加回答

舉報(bào)

0/150
提交
取消
微信客服

購課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)