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: https://learnionic2.com/2017/03/12/whats-new-ionic-2-2-0-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

StackOverFlow http://stackoverflow.com/questions/42788623/local-storage-in-ionic-2-error

Error discussion: https://forum.ionicframework.com/t/trying-to-use-ionicstoragemodule-not-resolving-methods/82520/5

Blogbook : PHP | Javascript | Laravel | Corcel | CodeIgniter | VueJs | ReactJs | WordPress