0
votes

I cloned fresh https://github.com/substrate-developer-hub/substrate-node-template repository (sometime ago it was working fine) I have executed:

cargo build --release

and got:

enter image description here

And many, many more errors while compiling. How to cope with that? Any ideas?

1
Can you try running the commands in this script and see if that helps? github.com/substrate-developer-hub/substrate-node-template/blob/… - Dan Forbes

1 Answers

2
votes

I (thanks to Dan) solved it by execution:

rustup update nightly
rustup update stable
// and then
cargo build --release

And works!