Skip to content

deviceready has not fired after 5 seconds on every new project #11322

@macklus

Description

@macklus

Ionic version: (check one with "x")
[ ] 1.x
[ ] 2.x
[x ] 3.x

I'm submitting a ... (check one with "x")
[ x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/

Current behavior:
After install node, cordova, gulp, bower and ionic, i made a new project with:
ionic start test sidemenu
running this project always throws:

04-22 20:34:09.766 20202 20202 I chromium: [INFO:library_loader_hooks.cc(163)] Chromium logging enabled: level = 0, default verbosity = 0
04-22 20:34:10.211 20202 20256 E chromium: [ERROR:child_thread_impl.cc(762)] Request for unknown Channel-associated interface: ui::mojom::GpuMain
04-22 20:34:19.087 20202 20202 I chromium: [INFO:CONSOLE(3324)] "Angular is running in the development mode. Call enableProdMode() to enable the production mode.", source: file:///android_asset/www/build/main.js (3324)
04-22 20:34:19.328 20202 20202 I chromium: [INFO:CONSOLE(1223)] "deviceready has not fired after 5 seconds.", source: file:///android_asset/www/cordova.js (1223)
04-22 20:34:19.330 20202 20202 I chromium: [INFO:CONSOLE(104166)] "Ionic Native: deviceready did not fire within 5000ms. This can happen when plugins are in an inconsistent state. Try removing plugins from plugins/ and reinstalling them.", source: file:///android_asset/www/build/main.js (104166)

On mobile device, it should ionic loader, then get a white screen for more than 5 secons, and then app apeears.

I try ALL the available templates, with same result

Expected behavior:
mobile app should run whitout blank screen or unexpected delays.

Steps to reproduce:

  1. Install node v7.9.0
  2. npm install -g ionic cordova gulp bower
  3. ionic start testproject runtime
  4. cd runtime
  5. ionic add platform android
  6. ionic run android

Related code:


Other information:
node version: v7.9.0

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):

Cordova CLI: 6.5.0 
Ionic Framework Version: 3.0.1
Ionic CLI Version: 2.2.3
Ionic App Lib Version: 2.2.1
Ionic App Scripts Version: 1.3.0
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Linux 4.8
Node Version: v7.9.0
Xcode version: Not installed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions