hello
i got error when build or run for ios or android app from terminal in ionic 3
[WARN] Error occurred during command execution from a CLI plugin. Your plugins may be
out of date.
TypeError: Cannot read property 'length' of undefined
the app work normally when serve it
this is my package.json
{
"name": "ward44",
"version": "0.0.1",
"author": "Ionic Framework",
"homepage": "http://ionicframework.com/",
"private": true,
"scripts": {
"clean": "ionic-app-scripts clean",
"build": "ionic-app-scripts build",
"lint": "ionic-app-scripts lint",
"ionic:build": "ionic-app-scripts build",
"ionic:serve": "ionic-app-scripts serve"
},
"dependencies": {
"@angular/common": "4.1.0",
"@angular/compiler": "4.1.0",
"@angular/compiler-cli": "4.1.0",
"@angular/core": "4.1.0",
"@angular/forms": "4.1.0",
"@angular/http": "4.1.0",
"@angular/platform-browser": "4.1.0",
"@angular/platform-browser-dynamic": "4.1.0",
"@ionic-native/core": "3.7.0",
"@ionic-native/in-app-browser": "^3.10.3",
"@ionic-native/splash-screen": "3.7.0",
"@ionic-native/status-bar": "3.7.0",
"@ionic/storage": "2.0.1",
"cordova-android": "^6.2.3",
"cordova-ios": "^4.4.0",
"cordova-plugin-console": "1.0.5",
"cordova-plugin-crosswalk-webview": "~2.3.0",
"cordova-plugin-device": "1.1.4",
"cordova-plugin-inappbrowser": "^1.7.1",
"cordova-plugin-media-capture": "*",
"cordova-plugin-splashscreen": "~4.0.1",
"cordova-plugin-statusbar": "2.2.2",
"cordova-plugin-whitelist": "1.3.1",
"ionic-angular": "3.2.1",
"ionic-plugin-keyboard": "~2.2.1",
"ionicons": "3.0.0",
"onesignal-cordova-plugin": "~2.1.1",
"rxjs": "5.1.1",
"sw-toolbox": "3.4.0",
"zone.js": "^0.8.10"
},
"devDependencies": {
"@ionic/app-scripts": "1.3.7",
"@ionic/cli-plugin-cordova": "1.0.0",
"@ionic/cli-plugin-ionic-angular": "1.2.0",
"typescript": "~2.2.1"
},
"description": "An Ionic project",
"cordova": {
"platforms": [
"android",
"ios"
],
"plugins": {
"cordova-plugin-console": {},
"cordova-plugin-crosswalk-webview": {},
"cordova-plugin-device": {},
"cordova-plugin-media-capture": {
"CAMERA_USAGE_DESCRIPTION": "App would like to access the camera.",
"MICROPHONE_USAGE_DESCRIPTION": "App would like to access the microphone.",
"PHOTOLIBRARY_USAGE_DESCRIPTION": "App would like to access the library."
},
"cordova-plugin-splashscreen": {},
"cordova-plugin-statusbar": {},
"cordova-plugin-whitelist": {},
"ionic-plugin-keyboard": {},
"onesignal-cordova-plugin": {},
"cordova-plugin-inappbrowser": {}
}
}
}