you should have the "router-outlet" component if you main module imports the router module.
just restart the language server in your IDE. in my case i just restartet the typescript language service