Hey guys…
I tyring to migrate my ionic v3 project into ionic v4… I think my error i got is kind of dumb, but when I migrate my provider to a new service i got a error caused by my AlertController.
ERROR Error: Uncaught (in promise): Error: StaticInjectorError(AppModule)[HomePage -> AlertController]:
StaticInjectorError(Platform: core)[HomePage -> AlertController]:
NullInjectorError: No provider for AlertController!
Error: StaticInjectorError(AppModule)[HomePage -> AlertController]:
StaticInjectorError(Platform: core)[HomePage -> AlertController]:
NullInjectorError: No provider for AlertController!
I think I have to do something in the app.module.ts or not? But what to do there…
import {AlertController} from “@ionic/angular”; -> in the service provider.