When running ionic serve in any project (ionic v4), the server that runs starts up and finishes compiling with no errors, but initially I get a blank page in the browser, with the following error in the console:
Failed to load resource: net::ERR_ADDRESS_IN_USE
I have the same result in my own projects, in blank starter and conference app.
If I check the network tab and refresh some combination of the following files fail to load:
If I keep refreshing the page, the files that fail to load change, but always a subset of the above 4. Files that previously loaded now fail to load and vice versa. Eventually (sometimes minutes later) the page will load.
$ ionic info √ Gathering environment info - done! Ionic: ionic (Ionic CLI) : 4.1.1 Ionic Framework : @ionic/angular 4.0.0-beta.5 @angular-devkit/core : 0.7.5 @angular-devkit/schematics : 0.7.5 @angular/cli : 6.1.5 @ionic/ng-toolkit : 1.0.7 @ionic/schematics-angular : 1.0.5 System: NodeJS : v8.9.0 (C:\Program Files\nodejs\node.exe) npm : 6.1.0 OS : Windows 8.1
I have tried different browsers (chrome and firefox), disabling all plugins in chrome and disabling antivirus.
I suspect something has gone wonky on my computer, but not sure what it could be. Any suggestions are welcome.