【发布时间】:2021-08-08 23:40:56
【问题描述】:
我一直遵循这些说明:
- https://substrate.dev/docs/en/knowledgebase/getting-started/
- https://substrate.dev/docs/en/tutorials/create-your-first-substrate-chain/setup
尝试运行此代码后出现以下错误:
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 如果这不起作用,请删除货物缓存并重新安装所有内容