Dev server (ionic serve) keeps shutindown for no reason


#1

Hello,

I have a little problem with the Ionic 3. CLI. I worked fine until today…Dev server keeps shutting down for no apparent reasons…
When I do ionic server, the project s launched…Then after that, 2 minutes late, it shuts down…

Can you help me figure out what s going on

In the inspector I saw stuuf like The connection to ws://localhost:35729/livereload was interrupted while the page was loading.


#2

what browser are you using ?


#3

Both in Chrome and Firefox, the same thing keeps happening


#4

try with Microsoft Edge i had same problem i solve it by using Microsoft Edge


#5

hmmm happy for you… My IE explorer is not even oppening the app…grrr


#6

emmm but i said Microsoft Edge not IExplorer !!


#7

I’m on Windows 7 … There’s gotta be an explanation for our issue anyway…looking forward to find the origin of the problem…


#8

Any additional output in the console (where you started ionic serve)?


#9

As you can see on the image below, it runs properly then it stops without even me tell Ctrl+C


#10

What is your ionic info output?


#11

Here it is :slight_smile:

[WARN] You are not in an Ionic project directory. Project context may be missing.

cli packages: (C:\Users\MyUserName\AppData\Roaming\npm\node_modules)

@ionic/cli-plugin-proxy : 1.5.8
@ionic/cli-utils        : 1.19.2
ionic (Ionic CLI)       : 3.20.0

System:

Node : v8.10.0
npm  : 5.6.0
OS   : Windows 7

Environment Variables:

HTTP_PROXY       : not set
http_proxy       : not set
HTTPS_PROXY      : not set
https_proxy      : not set
IONIC_HTTP_PROXY : not set
PROXY            : not set
proxy            : not set

Misc:

backend : pro

#12

See this, run it in your project for relevant information as well please.

But in general this sounds like a bug, so please report it here: https://github.com/ionic-team/ionic-cli/issues


#13

Ok. Here’s the result when I run it in project folder… (By the way, when I run ionic serve -c -s) it keep the dev server alive… What do you think of that ?

cli packages: (C:\Users\MyUserName\AppData\Roaming\npm\node_modules)

@ionic/cli-plugin-proxy : 1.5.8
@ionic/cli-utils        : 1.19.2
ionic (Ionic CLI)       : 3.20.0

global packages:

cordova (Cordova CLI) : not installed

local packages:

@ionic/app-scripts : 3.1.8
Cordova Platforms  : none
Ionic Framework    : ionic-angular 3.9.2

System:

Node : v8.10.0
npm  : 5.6.0
OS   : Windows 7

Environment Variables:

ANDROID_HOME     : not set
HTTP_PROXY       : not set
http_proxy       : not set
HTTPS_PROXY      : not set
https_proxy      : not set
IONIC_HTTP_PROXY : not set
PROXY            : not set
proxy            : not set

Misc:

backend : pro