ionic-cli: LiveReload not working

Description: Livereload does not load anything, it stays on white screen.

Steps to Reproduce: run “ionic serve” and select the app from the app “IonicDevApp” of Android

My ionic info: cli packages: (/home/gabo/Expanse Software/client app/node_modules)

@ionic/cli-utils  : 1.19.0
ionic (Ionic CLI) : 3.19.0

global packages:

cordova (Cordova CLI) : 7.0.1 

local packages:

@ionic/app-scripts : 2.1.3
Cordova Platforms  : android 6.2.3
Ionic Framework    : ionic-angular 3.6.0

System:

Android SDK Tools : 26.0.2
Node              : v6.12.0
npm               : 3.10.10 
OS                : Linux 4.10

Environment Variables:

ANDROID_HOME : /home/gabo/Android/Sdk/

Misc:

backend : pro

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Reactions: 1
  • Comments: 22 (6 by maintainers)

Most upvoted comments

@gdcruz9 The ws solution is outdated and has been fixed in later versions of app-scripts. The correct solution to this problem is to install the latest app-scripts:

npm i -D @ionic/app-scripts@latest

I resolved this by downgrading the socket: npm i -D -E ws@3.3.2

Try: $ sudo npm update -g ionic cordova $ npm outdated $ npm update

  • if you’re using firebase, remember to reinstall angularfire2 if some errors occurs ($ npm i angularfire2).