【问题标题】:Rust: substrate node template build errorRust:基板节点模板构建错误
【发布时间】:2021-08-08 23:40:56
【问题描述】:

我一直遵循这些说明:

尝试运行此代码后出现以下错误:

cd substrate-node-template
# NOTE: you should always use the `--release` flag
cargo build --release
# ^^ this will take a while!

这是错误,知道发生了什么吗?:

  Downloaded approx v0.3.2
  Downloaded parity-db v0.2.3
error: failed to parse manifest at /Users/ilyssaevans/.cargo/registry/src/github.com-1ecc6299db9ec823/parity-db-0.2.3/Cargo.toml


Caused by:
  failed to parse the version requirement `0.11 ` for dependency `parking_lot`

Caused by:
  expected comma after minor version number, found '\t'
zsh: command not found: # 

【问题讨论】:

  • 从表面上看,您下载的 parity-db v0.2.3 的副本存在问题——或者可能与 GitHub 存储库中的那个版本有关。
  • 请更新 paritydb 如果这不起作用,请删除货物缓存并重新安装所有内容

标签: rust substrate


【解决方案1】:

运行

货物更新-p parity-db

如果这没有帮助,请清除货物缓存并重新安装

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2021-09-11
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-05-29
    相关资源
    最近更新 更多