I found the culprit: I injected the wrong Router, namely the express Router instead of the @angular Router. They have the same name in the autocomplete of VSC, so you can easily misstep.