Substrate Developer Hub. Substrate is powered by best in class cryptographic research and comes with peer to peer networking, consensus mechanisms, and much more.
Experiencing problems? Have you tried our Stack Exchange first?
[X] This is not a support question.
Bug report for compiling, code snippets, templates, etc.
when input command:
"cargo check -p node-template-runtime --release"
it showed the error message "failed to load source for dependency of pallet-nicks"
Steps to reproduce the problem
step1:
Open the runtime/Cargo.toml
add following line under dependency :
pallet-nicks = { version = "4.0.0-dev", default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", branch = "polkadot-v1.0.0" }
step2:
in runtime/Cargo.toml ,
Add the "pallet-nicks/std" features to the list of features"
step3:
Check that the new dependencies resolve correctly by running the following command:
cargo check -p node-template-runtime --release
results:
failed to load source for dependency of pallet-nicks
Is there an existing issue?
Experiencing problems? Have you tried our Stack Exchange first?
Bug report for compiling, code snippets, templates, etc.
when input command: "cargo check -p node-template-runtime --release" it showed the error message "failed to load source for dependency of pallet-nicks"
Steps to reproduce the problem
step1: Open the runtime/Cargo.toml add following line under dependency : pallet-nicks = { version = "4.0.0-dev", default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", branch = "polkadot-v1.0.0" }
step2: in runtime/Cargo.toml , Add the "pallet-nicks/std" features to the list of features"
step3: Check that the new dependencies resolve correctly by running the following command: cargo check -p node-template-runtime --release
results: failed to load source for dependency of pallet-nicks