While I was building a subsrate node using cargo build I got this error message.

[error[E0282]:type annotations needed1

How to solve this??

1 Answer 1

rustup toolchain install nightly-2020-08-23
rustup target add wasm32-unknown-unknown --toolchain nightly-2020-08-23
Then compile your node with this:
cargo +nightly-2020-08-23 build --release

Fixed it with this code.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.