My app won't load unless i turn my WiFi off

I have a problem with my app, whenever I launch it, I get the cordova icon with a white background that sometimes gives me an error. It only disappears and allows me to actually use the app when I turn off my WiFi. I also have a problem where I can’t redirect to another file. Can someone please help me? Screenshots of errors are below

Have you connected the Remote Debugger to see what errors are on the Console?