m0dch3n / vue-cli-plugin-cordova

Vue Cli 3 Cordova Plugin
MIT License
417 stars 63 forks source link

Sometimes cordova-serve-android doesn't work. #21

Closed cairin closed 6 years ago

cairin commented 6 years ago

I get this output in the console:

deviceready has not fired after 5 seconds.
Channel not fired: onPluginsReady
Channel not fired: onCordovaReady
Channel not fired: onDOMContentLoaded

As far as I understand something has gone wrong with the hot reload server configuration. I have tried adding and removing the platforms but that didn't work. Do you know of any way to fix this?

m0dch3n commented 6 years ago

This is more cordova related then plugin related IMO. It looks to me, that the javascript for cordova takes to long to boot...

Have you tried what the cordova community says about this? What does google or stackoverflow say? Is this happening with default vue cli app, or only if add your app? Maybe your app is blocking javascript?

cairin commented 6 years ago

It was working fine, and then it just stopped. I know this isn't a problem with the plugin, I was just hoping you might have some experience with this.

The solutions on stack overflow are all over 3 years old and don't really work. Building the app and running it without hot reload works fine..

m0dch3n commented 6 years ago

No, I did not experience this before.

Maybe you should retry with the basic vue cli app, if it happens there, retry on another maschine...

If it does not happen there, revert your changements until you do no longer experience the problem