Ionic serve is showing a black screen


#1

I’m running ionic serve in my project folder, but it shows nothing, just from one moment to another, it stops working. Terminal output shows no errors, even if I run it with --verbose flag. Any ideas? Anything you need from my project, just tell me.

Ionic info output

Ionic:

   ionic (Ionic CLI)  : 4.5.0 (/usr/local/lib/node_modules/ionic)
   Ionic Framework    : ionic-angular 3.9.2
   @ionic/app-scripts : 3.1.10

Cordova:

   cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1)
   Cordova Platforms     : ios 4.5.4
   Cordova Plugins       : cordova-plugin-ionic-keyboard 2.0.5, cordova-plugin-ionic-webview 1.1.1, (and 12 other plugins)

System:

   NodeJS : v8.10.0 (/usr/bin/node)
   npm    : 3.5.2
   OS     : Linux 4.15



#2

What about with chrome? Do you have any outputs in the console?


#3

Try to delete Browser Data. I had the same trouble and it works after deleting the browser data in chrome


#4

Already done but the problems still exists.


#5

All these errors…

server-error


#6

Is this an old complex project? Looks like you are missing some files. Try to start a new project and migrate pages, providers, etc to the new one.


#7

Mmm, not that old, I’ve been working with this project for about 8 months, I keep everything up-to-date, but somehow this error just came up from one moment to another when I was trying to add a few plugins.