Ilyssa
Ilyssa

Reputation: 29

Rust: substrate node template build error

I have been following these instructions:

I get the following error after trying to run this code:

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

This is the error, any idea what's happening?:

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

Upvotes: 1

Views: 1085

Answers (1)

Clark Lee
Clark Lee

Reputation: 171

run

cargo update -p parity-db

If this doesn't help please clear cargo cache and reinstall

Upvotes: 2

Related Questions