Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed to load source for dependency of pallet-nicks #2170

Open
2 tasks done
MartinYeung5 opened this issue Aug 4, 2024 · 0 comments
Open
2 tasks done

failed to load source for dependency of pallet-nicks #2170

MartinYeung5 opened this issue Aug 4, 2024 · 0 comments
Labels
bug 🐛 Something isn't working.

Comments

@MartinYeung5
Copy link

Is there an existing issue?

  • I have searched the existing issues

Experiencing problems? Have you tried our Stack Exchange first?

  • 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

@MartinYeung5 MartinYeung5 added the bug 🐛 Something isn't working. label Aug 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working.
Projects
None yet
Development

No branches or pull requests

1 participant