Rust:基板节点模板构建错误

Rust: substrate node template build error

我一直在遵循这些说明:

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

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: # 

运行

cargo update -p parity-db

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