I have also that same error how to recover.Help me out please… !! !
Please check
- You have
IonicStorageModule.forRoot()
in your app module - You imported Storage from the correct path (
import {Storage} from '@ionic/storage';
) in the file where you use the Storage
1 Like
I had the same issue where the storage module being referenced was the wrong storage class. Fixed it by updating my reference in my imports.
Please follow this article - Fix - NullInjectorError: No provider for Storage Ionic framework error
The main issue is to import IonicStorageModule in app.module.ts and Storage module in your page component and module file.