Uncaught (in promise): Error: StaticInjectorError(AppModule)[Content -> NavController]: StaticInjectorError(Platform: core)[Content -> NavController]: NullInjectorError: No provider for NavController! code example

Example: ERROR Error: Uncaught (in promise): NullInjectorError: StaticInjectorError(r)[n -> n]: StaticInjectorError(Platform: core)[n -> n]: NullInjectorError: No provider for n!

ERROR Error: Uncaught (in promise): NullInjectorError: StaticInjectorError(r)[n -> n]: 
  StaticInjectorError(Platform: core)[n -> n]: 
    NullInjectorError: No provider for n!