Ion-page-invisible class isn't removed after ng compiles

I’m experimenting with ionic v4 and sometimes when I serve, the app-home contains a class called ion-page-invisible which makes the whole page invisible.
The class isn’t removed automatically. Is this a bug or am I doing something wrong?

I have the same issue. when run prod apk on device(android)
please help

I have the same issue here, I found it becasue of this problem tracking issue here, causing of transplie module PROPER PACKAGE FOR ANGULAR #15191