Waiting for connectivity with ionic-app-scripts continues after upgraded to v4

Waiting for connectivity with ionic-app-scripts continues with ionic serve after upgraded to v4 in all projects!

ionic-app-scripts serve --address 0.0.0.0 --port 8100 --livereload-port 35729
–dev-logger-port 53703 --nobrowser
[app-scripts] [02:29:35] ionic-app-scripts 3.1.11
[app-scripts] [02:29:35] watch started …
[app-scripts] [02:29:35] build dev started …
[app-scripts] [02:29:35] clean started …
[app-scripts] [02:29:35] clean finished in 2 ms
[app-scripts] [02:29:35] copy started …
[app-scripts] [02:29:35] deeplinks started …
[app-scripts] [02:29:35] deeplinks finished in 18 ms
[app-scripts] [02:29:35] transpile started …
[app-scripts] [02:29:41] transpile finished in 5.48 s
[app-scripts] [02:29:41] preprocess started …
[app-scripts] [02:29:41] preprocess finished in less than 1 ms
[app-scripts] [02:29:41] webpack started …
[app-scripts] [02:29:41] copy finished in 5.67 s
[app-scripts] [02:29:47] webpack finished in 6.40 s
[app-scripts] [02:29:47] sass started …
[app-scripts] Without from option PostCSS could generate wrong source map and
will not find Browserslist config. Set it to CSS file path or to undefined to
prevent this warning.
[app-scripts] [02:29:49] sass finished in 1.46 s
[app-scripts] [02:29:49] postprocess started …
[app-scripts] [02:29:49] postprocess finished in 9 ms
[app-scripts] [02:29:49] lint started …
[app-scripts] [02:29:49] build dev finished in 13.48 s
[app-scripts] [02:29:49] watch ready in 13.59 s
[app-scripts] [02:29:54] lint finished in 4.94 s
[INFO] Waiting for connectivity with ionic-app-scripts…
[INFO] Waiting for connectivity with ionic-app-scripts…
[INFO] Waiting for connectivity with ionic-app-scripts…
[INFO] Waiting for connectivity with ionic-app-scripts…
[INFO] Waiting for connectivity with ionic-app-scripts…
[INFO] Waiting for connectivity with ionic-app-scripts…
[INFO] Waiting for connectivity with ionic-app-scripts…
[INFO] Waiting for connectivity with ionic-app-scripts…
[INFO] Waiting for connectivity with ionic-app-scripts…
[INFO] Waiting for connectivity with ionic-app-scripts…
[INFO] Waiting for connectivity with ionic-app-scripts…

I have tried this commands:

npm rm -rf node_modules
npm install

ionic cordova platform remove android
ionic cordova platform add android

npm install -g @ionic/app-scripts@latest
npm install -g @ionic/app-scripts@latest --save-dev

cordova clean

again installed ionic@latest

try to create a new blank project but didn’t get any help…

Why the connectivity problem continues am I missing something?

ionic info

Ionic:

   ionic (Ionic CLI)  : 4.0.3 
   Ionic Framework    : ionic-angular 3.9.2
   @ionic/app-scripts : 3.1.11

Cordova:

   cordova (Cordova CLI) : 8.0.0
   Cordova Platforms     : android 7.0.0

System:

   Android SDK Tools : 26.1.1
   NodeJS            : v8.4.0
   npm               : 5.3.0
   OS                : Windows 7
2 Likes

i had the same problem after updated ionic to 4.0.3 also

1 Like

Same issue, after updating to latest version

Also reproduced this after updating from v.4.0.2 to v.4.0.3. My app-scripts version is a bit older than the one reported. Problem thus seems to be in ionic 4.0.3, not in ionic-app-scripts?

Ionic:

   ionic (Ionic CLI)  : 4.0.3
   Ionic Framework    : ionic-angular 3.9.2
   **@ionic/app-scripts : 3.1.9**

Cordova:

   cordova (Cordova CLI) : 8.0.0
   Cordova Platforms     : android 7.1.1, browser 5.0.3

System:

   Android SDK Tools : 26.1.1
   NodeJS            : v8.9.4 (D:\NodeJS\node.exe)
   npm               : 6.1.0
   OS                : Windows 10

i tried :

npm i -g ionic@latest

and it working now.
in my case because i deleted node_modules folder and also reinstall Node Js so i may need to run :

npm install
npm rebuild node-sass

hope that help

1 Like

npm i -g ionic@latest

Solved my issue thanks…