Deviceready did not fire within 5000ms. This can happen when plugins are in an inconsistent state. Try removing plugins from plugins/ and reinstalling them


#1

Hi I am using latest ionic version given my dependencies below. it took almost 35 sec to start app.
“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/app-version": “^3.8.0”,
"@ionic-native/call-number": “^3.8.0”,
"@ionic-native/core": “3.7.0”,
"@ionic-native/network": “^3.8.0”,
"@ionic-native/social-sharing": “^3.8.0”,
"@ionic-native/splash-screen": “3.7.0”,
"@ionic-native/status-bar": “3.7.0”,
"@ionic/storage": “2.0.1”,
“call-number”: “^1.0.1”,
“cordova-android”: “^6.2.3”,
“cordova-plugin-app-version”: “^0.1.9”,
“cordova-plugin-console”: “^1.0.5”,
“cordova-plugin-device”: “^1.1.4”,
“cordova-plugin-network-information”: “^1.3.3”,
“cordova-plugin-splashscreen”: “^4.0.3”,
“cordova-plugin-statusbar”: “^2.2.2”,
“cordova-plugin-whitelist”: “^1.3.1”,
“cordova-plugin-x-socialsharing”: “^5.1.8”,
“es6-promise-plugin”: “^4.1.0”,
“ionic-angular”: “3.2.1”,
“ionic-plugin-keyboard”: “^2.2.1”,
“ionicons”: “3.0.0”,
“rxjs”: “5.1.1”,
“sw-toolbox”: “3.6.0”,
“zone.js”: “0.8.10”,
“mx.ferreyra.callnumber”: “~0.0.2”
},
“devDependencies”: {
"@ionic/app-scripts": “1.3.7”,
"@ionic/cli-plugin-ionic-angular": “1.0.0”,
“typescript”: “2.2.1”
},
This is giving me nightmares. Please help me solve it.


#2

I have just hit this quagmire, it also includes the dreaded “Failed to connect to server” or the “easily debuggable” Unfortunately, project has stopped right after I take a picture.

I was in Ionic 3.1.1 and I installed the camera plugin. As things went South I made the decision to bump up to Ionic 3.2. The problem persists. I am going to setup a blank project with the camera plugin and simply drop a button to check if it’s not my camera plugin


#3

After going through hell and back, I have finally set up a clean project with nothing but the camera plugin and a simple button to invoke it.

App loading time jumped to 6sec (5.999) but at least it now works.

I’ll leave you with my ionic info and get back to you as soon as I find anything new.

global packages:

@ionic/cli-utils : 1.0.0
Cordova CLI      : 6.5.0 
Ionic CLI        : 3.0.0

local packages:

@ionic/app-scripts              : 1.3.7
@ionic/cli-plugin-cordova       : 1.0.0
@ionic/cli-plugin-ionic-angular : 1.0.0
Ionic Framework                 : ionic-angular 3.2.1

System:

Node       : v6.10.0
OS         : Linux 4.4
Xcode      : not installed
ios-deploy : not installed
ios-sim    : not installed

Some extra info too:

Installed platforms:

android 6.1.2

Available platforms:

amazon-fireos ~3.6.3 (deprecated)
blackberry10 ~3.8.0
browser ~4.1.0
firefoxos ~3.6.3
ubuntu ~4.3.4
webos ~3.7.0

#4

thanks …!