No provider for UserService!

Error: StaticInjectorError(AppModule)[UploaderPage -> UserService]: 
  StaticInjectorError(Platform: core)[UploaderPage -> UserService]: 
    NullInjectorError: No provider for UserService!

Hi everyone, im following this tutorial on youtube:
But on #4 its giving me an error that i cannot figure out how to fix it, because it seems that everything is ok, but the problem is at the time to go to some page (register and login pages) it gives me the error “cannot get /page” and when i click on a “upload” tab it gives me the error from above… where is the place that i should take a look to make it works? thank you so much


Finally adding to Providers the userservice, was the solution, thanks anyway :slight_smile:

1 Like