Ionic 2.2 : Ionic Cannot resolve all parameters for ‘Storage

Yup. If you’re upgrading to Ionic 2.2.0 and above, I’d suggest reading the update guide:

What’s new with Ionic 2.2.0 and how to update:

Moved to NgModule to resolve dependency injection issue.

Update Steps:

Run npm install @ionic/storage@2.0.0 –save –save-exact
Remove Storage from your providers in app.module.ts
import { IonicStorageModule } from ‘@ionic/storage’ instead of import { IonicStorage } from ‘@ionic/storage’ in app.module.ts
Add IonicStorageModule.forRoot() to the imports array in app.module.ts


Error discussion:

B logbook : PHP | Javascript | Laravel | CodeIgniter | Vue.js | WordPress