App is blank when emulated / run without the livereload flag


#1

My app currently works in both ‘ionic serve’ mode and when running with the livereload flag on both the device and the emulator

The app is blank when run / emulated without the livereload tag.

Does anyone have any idea what this might be caused by? For some reason, every resource is failing to load when running without the livereload tag (see below screenshot )

Thanks,
Clay


#2

I’m not sure if this will help you much but I had the exact same problem. In the end I could not work it out so I created a new application and copied the code across slowly.

Lesson learned (and a practice I generally follow now) is to make small commits to the code base and test in small stages so issues can be pinpointed sooner.

I’ll keep an eye on this thread should a solution be found.


#3

Check device-ready event if(is fired up).


#4

It looks like this may be related somehow to having a in my code – if i remove that line it still doesnt work but I get different errors :frowning:


#5

maybe an html5mode issue? Really struggling here :frowning:


#6

I think I am having a exactly same problem.

Did you happen to solve this problem?