Important Notice:
Caution: Cannot resolve all parameters for Storage in /Users/zzm/Desktop/minan/node_modules/@ionic/storage/es2015/storage.d.ts: (?). This will become an error in Angular v5.x
I have followed the instructions in this answer but the warning persists when I build for IOS
or Android
.
Package.json
{
"name": "ionic-hello-world",
"author": "He Yuyang",
"homepage": "http://ionicframework.com/",
"private": true,
"scripts": {
"clean": "ionic-app-scripts clean",
"build": "ionic-app-scripts build",
"ionic:build": "ionic-app-scripts build",
"ionic:serve": "ionic-app-scripts serve"
},
// Dependencies list shortened for brevity
}
UPDATE: provider user-data.ts
import { Injectable } from '@angular/core';
import { Http } from '@angular/http';
import { Events } from 'ionic-angular';
import { Storage } from '@ionic/storage';
// UserDataProvider class and methods omitted for brevity
}
Ionic Info
cli packages: (/usr/local/lib/node_modules)
// Rest of the Ionic Info section truncated for conciseness@ionic/cli-utils : 1.19.0 ionic (Ionic CLI) : 3.19.0