I tried using an ongoing project within Ionic Devapp. It’s supposed to load your app so you can view it. Except it’s always a blank screen when it loads up my project.
So, I tried making a completely new project with everything updated. I started with a blank project. Then I opened the blank project which is supposed to open to a single page with some text on it. It works in my browser but on in the ionic devapp. Does the DevApp work?
I suppose that it works fine. I just want to fined where I can fine the issue I have.
It’s a copy of my console log:
dev server running: http://localhost:8100/
[11:42:15] console.log: Angular is running in the development mode. Call enableProdMode() to enable the production
mode.
[11:42:15] console.warn: Native: tried calling StatusBar.styleDefault, but Cordova is not available. Make sure to
include cordova.js or run in a device/simulator
[11:42:15] console.warn: Native: tried calling SplashScreen.hide, but Cordova is not available. Make sure to include
cordova.js or run in a device/simulator
[11:42:16] lint finished in 1.94 s
I had a similar issue on Windows 10, when running the Ionic CLI using Linux for Windows 10 (“Bash on Ubuntu”).
The issue was due to firewall rules in Windows 10 not allowing port 8100 (the port “ionic serve” runs on)
I fixed it by enabling port 8100 inside my firewall rules (TCP).
If you’re serving on a different port, just use that instead.
Just open Windows Defender Firewall, create “New Rule”, pick “Port”, put TCP port 8100, pick “Allow the connection”, pick the type of network (probably want it only allowed on Private and Domain networks), give it a name and it should start working.