ionic-team / ionic-app-scripts

App Build Scripts for Ionic Projects
http://ionicframework.com/
MIT License
608 stars 304 forks source link

Waiting for Ionic connectivity with ionic-app-scripts #1459

Open sameer05k21a0440 opened 6 years ago

sameer05k21a0440 commented 6 years ago

Hi, Waiting for connectivity with ionic-app-scripts continues with ionic serve--lab?

[app-scripts] [18:17:21]  tslint: ...orkSpace_Ionic3_MobileApp/prototype/src/pages/profile-details/profile-details.ts, line: 2
[INFO] Waiting for connectivity with ionic-app-scripts...
[INFO] Waiting for connectivity with ionic-app-scripts...
[INFO] Waiting for connectivity with ionic-app-scripts...

Ionic Info :

ionic (Ionic CLI)  : 4.0.3 (C:\Users\user\AppData\Roaming\npm\node_modules\ionic)
   Ionic Framework    : ionic-angular 3.9.2
   @ionic/app-scripts : 3.1.11

Cordova:

   cordova (Cordova CLI) : 8.0.0
   Cordova Platforms     : browser 5.0.3

System:

   Android SDK Tools : 26.1.1
   NodeJS            : v9.1.0 (C:\Program Files\nodejs\node.exe)
   npm               : 5.5.1
   OS                : Windows 10

Environment:

   ANDROID_HOME : C:\Users\user2\AppData\Local\Android\Sdk
TarTar999 commented 6 years ago

please I have the same issue and this prevents me from doing anything

sameer05k21a0440 commented 6 years ago

After posted in Stack Overflow not yet get exact solution to solve issue.

https://stackoverflow.com/questions/51693444/waiting-for-ionic-connectivity-with-ionic-app-scripts-issue/51701692#51701692

riky-cloud commented 6 years ago

try this "ionic serve --address localhost" @sameer05k21a0440

beardedprince commented 6 years ago

@riky-cloud

Thanks it worked. Although not in the lab view. but its working.

thanks to you

beardedprince commented 6 years ago

i even tried ionic serve localhost port

and it worked

developeromI89 commented 6 years ago

After doing Unit testing for app component and trying ionic serve output is

[app-scripts] [16:45:54] ionic-app-scripts 3.2.0 [app-scripts] [16:45:54] watch started ... [app-scripts] [16:45:54] build dev started ... [app-scripts] [16:45:54] clean started ... [app-scripts] [16:45:54] clean finished in 4 ms [app-scripts] [16:45:54] copy started ... [app-scripts] [16:45:54] deeplinks started ... [app-scripts] [16:45:55] deeplinks finished in 70 ms [app-scripts] [16:45:55] transpile started ... [app-scripts] [16:45:58] transpile finished in 3.61 s [app-scripts] [16:45:58] preprocess started ... [app-scripts] [16:45:58] preprocess finished in 1 ms [app-scripts] [16:45:58] webpack started ... [app-scripts] [16:45:58] copy finished in 3.90 s [app-scripts] [16:45:58] watch ready in 4.04 s

[INFO] Development server running!

   Local: http://localhost:port number
   DevApp: MovePen@8100 on ***********

   Use Ctrl+C to quit this process

[INFO] Browser window opened to localhost:port number! it stops here.