Ionic storage doesn't work

I’m following just like https://ionicframework.com/docs/angular/storage says so, but gets the following error:

image

here’s my app module code:

...
import { IonicStorageModule } from '@ionic/storage';

@NgModule({
    declarations: [AppComponent],
    entryComponents: [],
    imports: [BrowserModule,
        IonicModule.forRoot(),
        AppRoutingModule,
        AddCardPageModule,
        ConfirmPageModule,
        SearchPageModule,
        EditProfilePageModule,
        SearchingPageModule,
        RadarPageModule,
        ResultsPageModule,
        AddMembersPageModule,
        AddPayersPageModule,
        CabinPopoverPageModule,
        TicketPopoverPageModule,
        ConfirmTransferPageModule,
        CancelTicketPageModule,
        TransferCabinPageModule,
        EventInfoPageModule,
        HttpClientModule,
        AngularSvgIconModule.forRoot(),
        IonicStorageModule.forRoot()],

    providers: [...

if I remove import {Storage} from '@ionic/storage'; from my LoginPage and from its constructor, the error goes away, but I need to use storage. Help please