[Aerogear-users] Failed to load resource

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[Aerogear-users] Failed to load resource

Anton Hughes
Hello

I am followig the guide on https://aerogear.org/docs/guides/aerogear-cordova/AerogearCordovaPush/ - and have gone through this a few times now, so I am sure I am not missing any step.

I am deploying my sample app onto genymotion, and using the chrome debugger, and I see the following error:

file:///android_asset/www/plugins/aerogear-cordova-push/www/aerogear.ajax.js Failed to load resource: net::ERR_FILE_NOT_FOUND
file:///android_asset/www/plugins/aerogear-cordova-push/www/aerogear-push.js Failed to load resource: net::ERR_FILE_NOT_FOUND
cordova.js:1431 Uncaught Error: Module aerogear-cordova-push.AeroGear.ajax does not exist.
cordova.js:1185 deviceready has not fired after 5 seconds.
cordova.js:1178 Channel not fired: onPluginsReady
cordova.js:1178 Channel not fired: onCordovaReady

How can I fix this?

Thamks

_______________________________________________
Aerogear-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-users
Reply | Threaded
Open this post in threaded view
|

Re: [Aerogear-users] Failed to load resource

Anton Hughes

On Sat, Jan 23, 2016 at 10:55 AM, Anton Hughes <[hidden email]> wrote:
Hello

I am followig the guide on https://aerogear.org/docs/guides/aerogear-cordova/AerogearCordovaPush/ - and have gone through this a few times now, so I am sure I am not missing any step.

I am deploying my sample app onto genymotion, and using the chrome debugger, and I see the following error:

file:///android_asset/www/plugins/aerogear-cordova-push/www/aerogear.ajax.js Failed to load resource: net::ERR_FILE_NOT_FOUND
file:///android_asset/www/plugins/aerogear-cordova-push/www/aerogear-push.js Failed to load resource: net::ERR_FILE_NOT_FOUND
cordova.js:1431 Uncaught Error: Module aerogear-cordova-push.AeroGear.ajax does not exist.
cordova.js:1185 deviceready has not fired after 5 seconds.
cordova.js:1178 Channel not fired: onPluginsReady
cordova.js:1178 Channel not fired: onCordovaReady

How can I fix this?

Thamks


_______________________________________________
Aerogear-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-users
Reply | Threaded
Open this post in threaded view
|

Re: [Aerogear-users] Failed to load resource

Erik Jan de Wit
Strange error the files are empty and not found? Could you try it from the command line?

cordova create push-test
cd push-test
cordova plugin add aerogear-cordova-push
cordova platform add android
cordova run

both files should be found and not empty. Aerogear-push.js is the javascript interface to the plugin's native parts so that must be there otherwise it will not work. What could be the case is that you don't have cordova.js as a javascript reference in your project?

Hope this helps,

On Sat, Jan 23, 2016 at 9:14 PM, Anton Hughes <[hidden email]> wrote:

On Sat, Jan 23, 2016 at 10:55 AM, Anton Hughes <[hidden email]> wrote:
Hello

I am followig the guide on https://aerogear.org/docs/guides/aerogear-cordova/AerogearCordovaPush/ - and have gone through this a few times now, so I am sure I am not missing any step.

I am deploying my sample app onto genymotion, and using the chrome debugger, and I see the following error:

file:///android_asset/www/plugins/aerogear-cordova-push/www/aerogear.ajax.js Failed to load resource: net::ERR_FILE_NOT_FOUND
file:///android_asset/www/plugins/aerogear-cordova-push/www/aerogear-push.js Failed to load resource: net::ERR_FILE_NOT_FOUND
cordova.js:1431 Uncaught Error: Module aerogear-cordova-push.AeroGear.ajax does not exist.
cordova.js:1185 deviceready has not fired after 5 seconds.
cordova.js:1178 Channel not fired: onPluginsReady
cordova.js:1178 Channel not fired: onCordovaReady

How can I fix this?

Thamks


_______________________________________________
Aerogear-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-users




--
Cheers,
       Erik Jan

_______________________________________________
Aerogear-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-users
Reply | Threaded
Open this post in threaded view
|

Re: [Aerogear-users] Failed to load resource

Anton Hughes
Thanks for your help Erik

I dont know what the problem was -  but a restart seems to have fixed it.

Crazy.

On Mon, Jan 25, 2016 at 9:37 AM, Erik Jan de Wit <[hidden email]> wrote:
Strange error the files are empty and not found? Could you try it from the command line?

cordova create push-test
cd push-test
cordova plugin add aerogear-cordova-push
cordova platform add android
cordova run

both files should be found and not empty. Aerogear-push.js is the javascript interface to the plugin's native parts so that must be there otherwise it will not work. What could be the case is that you don't have cordova.js as a javascript reference in your project?

Hope this helps,

On Sat, Jan 23, 2016 at 9:14 PM, Anton Hughes <[hidden email]> wrote:

On Sat, Jan 23, 2016 at 10:55 AM, Anton Hughes <[hidden email]> wrote:
Hello

I am followig the guide on https://aerogear.org/docs/guides/aerogear-cordova/AerogearCordovaPush/ - and have gone through this a few times now, so I am sure I am not missing any step.

I am deploying my sample app onto genymotion, and using the chrome debugger, and I see the following error:

file:///android_asset/www/plugins/aerogear-cordova-push/www/aerogear.ajax.js Failed to load resource: net::ERR_FILE_NOT_FOUND
file:///android_asset/www/plugins/aerogear-cordova-push/www/aerogear-push.js Failed to load resource: net::ERR_FILE_NOT_FOUND
cordova.js:1431 Uncaught Error: Module aerogear-cordova-push.AeroGear.ajax does not exist.
cordova.js:1185 deviceready has not fired after 5 seconds.
cordova.js:1178 Channel not fired: onPluginsReady
cordova.js:1178 Channel not fired: onCordovaReady

How can I fix this?

Thamks


_______________________________________________
Aerogear-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-users




--
Cheers,
       Erik Jan

_______________________________________________
Aerogear-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-users



_______________________________________________
Aerogear-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-users