error: could not find `sui` in https://github.com/MystenLabs/sui.git?branch=devnet with version `*`

huangapple go评论60阅读模式
英文:

error: could not find `sui` in https://github.com/MystenLabs/sui.git?branch=devnet with version `*`

问题

尝试使用以下命令安装 Sui 二进制文件:

cargo install --locked --git https://github.com/MystenLabs/sui.git --branch devnet sui

根据官方文档的建议,链接在这里:docs

但是出现以下错误:

更新 git 仓库 `https://github.com/MystenLabs/sui.git` 
错误:无法在 https://github.com/MystenLabs/sui.git?branch=devnet 找到版本为 `*` 的 `sui`

可能的原因是什么?

英文:

When trying to install sui binaries using

cargo install --locked --git https://github.com/MystenLabs/sui.git --branch devnet sui

as suggested by the official docs,

gives the below error

Updating git repository `https://github.com/MystenLabs/sui.git` 
error: could not find `sui` in https://github.com/MystenLabs/sui.git?branch=devnet with version `*`

What could be the possible reason?

答案1

得分: 2

我使用了以下命令,其中包含标签以安装它:

cargo install --locked --git https://github.com/MystenLabs/sui.git --branch devnet --tag devnet-<version> sui

你可以根据需要替换版本(例如v1.3.0)。

英文:

I used the below command which includes the tag to install it

cargo install --locked --git https://github.com/MystenLabs/sui.git --branch devnet --tag devnet-<version> sui

where you can replace version as required (e.g v1.3.0)

huangapple
  • 本文由 发表于 2023年6月2日 14:07:47
  • 转载请务必保留本文链接:https://go.coder-hub.com/76387535.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定