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
canister alias "ledger" not defined #53
Comments
Would you mind sending the relevant parts of your |
Thanks! This is the ledger part: "ledger": {
"type": "custom",
"candid": "src/ledger/ledger.did",
"wasm": "src/ledger/ledger.wasm",
"remote": {
"candid": "src/ledger/ledger.public.did",
"id": {
"ic": "ryjl3-tyaaa-aaaaa-aaaba-cai"
}
}
}, |
Do you run into the same problem if you switch to dfx version |
Yes, if I downgrade dfx to version 0.11.0 and specify 0.11.0 in dfx.json, I get the same error. If I have just specify 0.11.0 in dfx.json and stay on dfx 0.11.2. No errors are shown, including ones that are obviously wrong. So the language server does not seem to work then. |
we get the same
|
Let me know if this works in Multi-canister projects now work in certain situations, but I'm sure there will still be a few corner cases to figure out. Reopening for visibility. Cheers! |
Yes, for me it is not showing an error anymore. This really improves the usability, thanks!! |
When importing the ledger canister, I get the following error highlight "canister alias "ledger" not defined". The canister is defined in dfx.json. When I compile, I do not get an error and I am also able to successfully call ledger methods in local development and on the production version.
Also only the import error is highlighted, no other errors that are present in the file are highlighted.
The text was updated successfully, but these errors were encountered: