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

Cross posting an answer here: Where can I find the canister-id for the mainnet ledger canister? - #2 by Ori