i run ‘ionic serve’ and returns nothing in the screen, but in console ERROR NullInjectorError: R3InjectorError(AppModule)
I really don’t know what to do. I’m still a noob.
Hugs from brazil
i run ‘ionic serve’ and returns nothing in the screen, but in console ERROR NullInjectorError: R3InjectorError(AppModule)
I really don’t know what to do. I’m still a noob.
Hugs from brazil
i think the problem is in the provider you are trying to use without injecting it
try to add the following decorator
@Injectable({
providedIn: 'root'
})