while building substrate node template versions: polkadot-v0.9.19, polkadot-v0.9.27 get the below error rustup version
nightly-2022-02-15-x86_64-unknown-linux-gnu (default)
rustc 1.60.0-nightly (c5c610aad 2022-02-14)
Substrate and Polkadot Stack Exchange is a question and answer site for developers building blockchains with the Substrate SDK. It only takes a minute to sign up.
Sign up to join this communityJust simply do this (you don't have to modify the lock file manually):
cargo update -p syn --precise 1.0.96
If you have the plan to update your Substrate version.
Update the Substrate to this commit, which could fix this problem permanently.
error: failed to select a version for the requirement
syn = "^1.0.98"``
Aug 17, 2022 at 8:00
cargo update -p ctor --precise 0.1.22
.
Aug 17, 2022 at 8:30
Downgrade your current syn
version 1.0.99
into 1.0.96
in my case
Step:
Cargo.lock
name = "syn"
in Cargo.lock
checksum
line of syn
1.0.99
by 1.0.96
cargo build --release
again