This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
Rust WASM toolchain not installed, even I have installed #12791
Labels
J2-unconfirmed
Issue might be valid, but it’s not yet known.
Is there an existing issue?
Experiencing problems? Have you tried our Stack Exchange first?
Description of bug
When run
cargo build --release
tosubstrate-node-template
, I met this problem like "Rust WASM toolchain not installed, please install it!", although I have installed it. The details are as follows.Steps to reproduce
Hello everyone:
When I used commend
cargo build --release
tosubstrate-node-template,
I get something wrong like this:error: failed to run custom build command for
node-template-runtime v4.0.0-dev (/home/briza/Desktop/substrate/substrate-node-template_ok/runtime)
Caused by:
process didn't exit successfully:
/home/briza/Desktop/substrate/substrate-node-template_ok/target/release/build/node-template-runtime-219434d0a12d33e9/build-script-build
(exit status: 1)--- stderr
Rust WASM toolchain not installed, please install it!
Further error information:
error: expected table for configuration key
registry
, but found string in /home/briza/.cargo/configI checked my toolchain, and installed:
rustup toolchain install nightly-2022-10-20-x86_64-unknown-linux-gnu
, but stiil didn't work.rustup show
andrustup nightly show
below:rustup show:
Default host: x86_64-unknown-linux-gnu
rustup home: /home/briza/.rustup
installed toolchains
stable-x86_64-unknown-linux-gnu (default)
nightly-2021-11-04-x86_64-unknown-linux-gnu
nightly-2021-12-10-x86_64-unknown-linux-gnu
nightly-2022-06-30-x86_64-unknown-linux-gnu
nightly-2022-07-01-x86_64-unknown-linux-gnu
nightly-2022-08-15-x86_64-unknown-linux-gnu
nightly-2022-10-20-x86_64-unknown-linux-gnu
nightly-x86_64-unknown-linux-gnu
active toolchain
stable-x86_64-unknown-linux-gnu (default)
rustc 1.65.0 (897e37553 2022-11-02)
rustup nightly show:
Default host: x86_64-unknown-linux-gnu
rustup home: /home/briza/.rustup
installed toolchains
stable-x86_64-unknown-linux-gnu (default)
nightly-2021-11-04-x86_64-unknown-linux-gnu
nightly-2021-12-10-x86_64-unknown-linux-gnu
nightly-2022-06-30-x86_64-unknown-linux-gnu
nightly-2022-07-01-x86_64-unknown-linux-gnu
nightly-2022-08-15-x86_64-unknown-linux-gnu
nightly-2022-10-20-x86_64-unknown-linux-gnu
nightly-x86_64-unknown-linux-gnu
installed targets for active toolchain
wasm32-unknown-unknown
x86_64-unknown-linux-gnu
active toolchain
nightly-x86_64-unknown-linux-gnu (overridden by +toolchain on the command line)
rustc 1.67.0-nightly (1eb62b123 2022-11-27)
rust version: rustc 1.65.0 (897e37553 2022-11-02)
Besides, I followed this "https://docs.substrate.io/install/linux/" to reinstall, but still didn't work
what should I do to solve this problem?
thank you all first!
The text was updated successfully, but these errors were encountered: