Can anyone explain me what is the problem with this? While i was working in chrome I had no errors but when i try to run app inside emulator or on real device I get constant white screen. When I inspect devices with developer tools in emulator I get these warnings and on real device these . I didn’t change anything in main.js or index.html .
Given the few information you give us, your best bet is simply to use a backup, aka:
- take your last copy from a directory like myproject/src/pages
- copy over this copy on this production directory
- try again ionic serve
- if you changed development environment, ionic new version (>3+) will tell you about what npm command to do.
Hope that helps,
I created new project and copy/paste code and now it’s working.
Perfect, glad it helped you