Aparece o erro abaixo:
ERROR Error: Uncaught (in promise): Error: Cannot match any routes. URL Segment: 'user/flavio' core.js:6014 ERROR Error: Uncaught (in promise): Error: Cannot match any routes. URL Segment: 'user/flavio'Error: Cannot match any routes. URL Segment: 'user/flavio' at ApplyRedirects.noMatchError (router.js:4295:1) at CatchSubscriber.selector (router.js:4259:1) at CatchSubscriber.error (catchError.js:29:1) at MapSubscriber._error (Subscriber.js:75:1) at MapSubscriber.error (Subscriber.js:55:1) at MapSubscriber._error (Subscriber.js:75:1) at MapSubscriber.error (Subscriber.js:55:1) at MapSubscriber._error (Subscriber.js:75:1) at MapSubscriber.error (Subscriber.js:55:1) at TapSubscriber._error (tap.js:56:1) at resolvePromise (zone-evergreen.js:797:1) at resolvePromise (zone-evergreen.js:754:1) at zone-evergreen.js:858:1 at ZoneDelegate.invokeTask (zone-evergreen.js:391:1) at Object.onInvokeTask (core.js:39680:1) at ZoneDelegate.invokeTask (zone-evergreen.js:390:1) at Zone.runTask (zone-evergreen.js:168:1) at drainMicroTaskQueue (zone-evergreen.js:559:1) defaultErrorLogger @ core.js:6014 handleError @ core.js:6066 next @ core.js:40558 schedulerFn @ core.js:35336 __tryOrUnsub @ Subscriber.js:185 next @ Subscriber.js:124 _next @ Subscriber.js:72 next @ Subscriber.js:49 next @ Subject.js:39 emit @ core.js:35298 (anônimo) @ core.js:39738 invoke @ zone-evergreen.js:359 run @ zone-evergreen.js:124 runOutsideAngular @ core.js:39572 onHandleError @ core.js:39735 handleError @ zone-evergreen.js:363 runGuarded @ zone-evergreen.js:137 api.microtaskDrainDone @ zone-evergreen.js:663 drainMicroTaskQueue @ zone-evergreen.js:566 Promise.then (assíncrono) scheduleMicroTask @ zone-evergreen.js:542 scheduleTask @ zone-evergreen.js:381 scheduleTask @ zone-evergreen.js:211 scheduleMicroTask @ zone-evergreen.js:231 scheduleResolveOrReject @ zone-evergreen.js:845 then @ zone-evergreen.js:955 bootstrapModule @ core.js:40600 ./src/main.ts @ main.ts:11 webpack_require @ bootstrap:79 0 @ main.ts:12 webpack_require @ bootstrap:79 checkDeferredModules @ bootstrap:45 webpackJsonpCallback @ bootstrap:32 (anônimo) @ main.js:1
Por gentileza, me ajudem, pois o código tá certo e tá dando erro no console.