Skip to content

Conversation

@TrinhKien94
Copy link

When I run command
sudo docker run -it --rm --name substrate-ssvm -p 9944:9944 -v $(pwd):/root/node -w /root/node/substrate-ssvm-node secondstate/substrate-ssvm:latest /bin/bash -c "make init && make build && cargo run --release --bin ssvm-node -- --dev --ws-external"
It have an error:
error: component 'rustfmt' for target 'x86_64-unknown-linux-gnu' is unavailable for download for channel nightly
Sometimes not all components are available in any given nightly. If you don't need the component, you can remove it with:

rustup component remove --toolchain nightly --target x86_64-unknown-linux-gnu rustfmt

make: *** [Makefile:3: init] Error 1

Reason: I think the lastest of docker image of secondstate/substrate-ssvm have problem with rust

Solution: uninstall chain and reinstall tool chain.

…unknown-linux-gnu' is unavailable for download for channel nightly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant