/main.mo:1.1-1.32: import error [M0011], canister alias "ledger" not defined

Hi,
Can I ask how you ended up fixing this? I have the same issue where I get canister alias icp_ledger_canister is not defined, whereas dfx build doesn’t complain, so it appears to be an issue with the VSCode extension.

1 Like