Whitescreen in ionic2 templates


#1

I get the white screen if I use an ionic template.
Tabs gives whitescreen.
ionic start tabs --v2 --ts

Sidemenu does not work at all unless I npm install after it bails eventually ( another issue ).

I get no whitescreen if I do not use a starter template.

Is there a list of templates that -work- with Ionic2?

Cordova CLI: 6.1.1
Ionic Framework Version: 2.0.0-beta.4
Ionic CLI Version: 2.0.0-beta.24
Ionic App Lib Version; 2.0.0-beta.14


#2

Hi @shepard, try

ionic start MyProjectName tabs --v2 --ts

then cd MyProjectName

then ionic serve or ionic serve -l


#3

Hi Ryan. I have used that command and it works fine in the browser but not on device. ( an S5 ).
On the device I get the WSOD with no errors.


White screen on TABS starter
#4

Sorry I don’t have an Android to test on at the moment. I can tell you that a blank template for v4 is working on iOS. =/ Can you try on genymotion?


#5

Blank works on my android 5.1.1.
Tabs does not.
Sidemenu doesn’t even finish installing but have gotten it working in browser after the fact with an npm install in the created folder but no love on the device though.
I do not use Genymotion, I test on device.

I would use the Blank and add tabs/sidemenu afterwards but have had nothing but problems with doing that so far.


#6

Same here. :pensive:
Plain typescript starter tabs gives a WSOD on the Moto G device with Android 5. Just like my own project.
BUT the actual conference app DOESN’t have this problem. Runs fine on the Moto
So there must be a difference between these two…

Perhaps it’s a general nav issue, like here: White screen on TABS starter

But all apps are running fine in my emulators, using beta.4.

@mhartington can you please check this on a real Android device?


#7

Good news.
Update to 2.0.0-beta.25 solves some problems.
I was able to start a new sidemenu project AND run it on the device with no WSOD.

Note: I had to also update Node and NPM afterwards.

About to try tabs.


#8

No love with tabs yet.
Worked in browser - not on device.


#9

This is known issue and has been fixed in master. Thank for your patience y’all, we’ll cut a new soon! Thanks


Can't start Android app after updating to beta.4