-
Notifications
You must be signed in to change notification settings - Fork 655
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[INFO] Waiting for connectivity with ionic-app-scripts... #3410
Comments
Duplicate of #3368 You must update |
I still have the log "Waiting for connectivity with ionic-app-scripts..." in app script 3.1.11
|
@amanitequeen What is the command you're running? Why does it choose |
I also encountered this error. Either [email protected] or [email protected] occurs.
|
|
@dwieeb so |
@rdlabo That's okay, thanks for finding where the CLI is hanging. ionic-cli/packages/@ionic/cli-framework/src/utils/network.ts Lines 80 to 85 in 49d9493
This code exists so that the Ionic CLI knows when to open the browser window. There must be something going wrong between hosting a server on |
@dwieeb thanks, and I see. I will make pull-request. |
Hello, I'm was using command "ionic cordova run android --livereload --address [address]" with my ip address (192.168.254.58:8100) because i need to test on my mobile so i can't have a "localhost" address. I tried the code in the commit, the application now build and runs but the livereload doesn't work. when i enter the address in a browser i get "ERR_CONNECTION_REFUSED" |
Nevermind I relaunch the command again and it works, |
I tried again today and livereload, most of the time, doesn't work and I have to relaunch command several times to make it work again, I tried the fix "fix(cli-utils/project): pass the host address as it is" but it doesn't change the situation, i use either the command "ionic cordova run android --livereload --address [address]" or either using ""ionic cordova run android --livereload" and choose address. It looks pretty random, sometimes it works again |
Also getting it for my ionic3 project, only when I give There is an open PR that should fix this issue: #3444 |
Thanks i've seen it and I already tried it. But the bug still appears, whenever i add |
@amanitequeen Did you ran |
Thanks I'll try that next time I encouter the bug |
@amanitequeen もし昨日の修正したコードが残っていたら削除してみてください。 |
Is the Problem fixed? For me still not working with [INFO] Waiting for connectivity with ionic-app-scripts... |
Will be fixed in 4.0.3. I am working on a fix for #3406 then I will cut a release. |
😄 Let me know how it works! Thank you everyone for the issue report and for helping! |
works fine for me thanks ^^ |
Thank you! Works for me with command ionic serve when i try to use ionic labs the following Error appears:
|
For anyone that tried everything here but it still didn't work: Worked for me. |
@amanitequeen @sebmeg Thanks for confirming the issue is resolved! @sebmeg Please create new issues for new errors. @fyayc-chrisat Did you try updating the Ionic CLI to 4.0.3? Multiple people have said the original issue is resolved in this version that was just released. If that is not the case, let me know. |
This is not working for me. I am getting the same issue
C:\Code\OceanNet\OceanNetApp>ionic info Ionic: ionic (Ionic CLI) : 4.0.3 (C:\Users\ramesh\AppData\Roaming\npm\node_modules\ionic) Cordova: cordova (Cordova CLI) : 8.0.0 System: Android SDK Tools : 26.1.1 Environment: ANDROID_HOME : C:\Code\Android\adt-bundle-windows-x86_64-20140702\sdk |
Steps that work for me after installing 4.0.3 ionic version:
|
sorry @monikaja your solution doesn't work for me, |
@yascasa Ionic CLI support Node.js LTS version. So you should install node.js v8.11.3 and pull request for this issue is marged.( #3476 ) but not released yet. so please execute |
Thanks to you..the --address option is working for me..
The earlier delete existing node modules and reinstalling scripts and node
modules did not work..
I am using Node 8.9 version
Thanks
Ramesh
…On Mon, Aug 6, 2018 at 7:29 PM Masahiko Sakakibara ***@***.***> wrote:
@yascasa <https://github.com/yascasa> Ionic CLI support Node.js LTS
version. So you should install node.js v8.11.3
https://nodejs.org/ja/
and pull request for this issue is marged.( #3476
<#3476> ) but not released
yet. so please execute ionic serve --address 127.0.0.1.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#3410 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADVpBcq2CKKbCW08B9KY6qbz5mdI7ulyks5uOEvFgaJpZM4VjBvn>
.
--
Ramesh Guntha
|
@rguntha Today, fix this Issue(#3476) version is released. Please use [email protected]. and If your env don't work using [email protected], please tell me |
Thanks very much. It's working now with 4.0.5. I do not have to use the
--address flag now.
…On Tue, Aug 7, 2018 at 12:07 PM Masahiko Sakakibara < ***@***.***> wrote:
@rguntha <https://github.com/rguntha> Today, fix this Issue(#3476
<#3476>) version is released.
Please use ***@***.***
and If your env don't work using ***@***.***, please tell me $ionic info.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3410 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADVpBRXkmv1XfONxvVK1xN09xODL2Ar-ks5uOTWVgaJpZM4VjBvn>
.
--
Ramesh Guntha
|
in my case ionic serve works with another project but for current project its not working |
Sh1t :( ionic-app-script task: "build" Help me, please! |
I am still using Ionic 3, and first time I got this error although I didn't update or install any thing related to nodejs or ionic. All I did was connected my laptop to VPN network. When I turned that VPN off it start working again. |
Description:
I installed new ionic cli release, and since i'm unable to run application.
The message stop at "[app-scripts] [09:08:10] lint finished in 1.48 s" and then continue to output "Waiting for connectivity with ionic-app-scripts". If I stop the build with ctrl + c and try to rerun again, i get error :
[app-scripts] Error: listen EADDRINUSE :::53703
[app-scripts] at Object.exports._errnoException (util.js:1020:11)
[app-scripts] at exports._exceptionWithHostPort (util.js:1043:20)
[app-scripts] at Server._listen2 (net.js:1258:14)
[app-scripts] at listen (net.js:1294:10)
[app-scripts] at net.js:1404:9
[app-scripts] at _combinedTickCallback (internal/process/next_tick.js:83:11)
[app-scripts] at process._tickCallback (internal/process/next_tick.js:104:9)
[app-scripts] at Module.runMain (module.js:606:11)
[app-scripts] at run (bootstrap_node.js:389:7)
[app-scripts] at startup (bootstrap_node.js:149:9)
I get this error until I close the terminal, try to run again, get "Waiting for connectivity", same loop.
Steps to Reproduce:
update ionic cli and run "ionic cordova run android --livereload --address [address]
Output:
1st time :
[app-scripts] [09:07:52] ionic-app-scripts 3.1.9
[app-scripts] [09:07:52] watch started ...
[app-scripts] [09:07:52] build dev started ...
[app-scripts] [09:07:52] clean started ...
[app-scripts] [09:07:52] clean finished in 13 ms
[app-scripts] [09:07:52] copy started ...
[app-scripts] [09:07:53] deeplinks started ...
[app-scripts] [09:07:53] deeplinks finished in 297 ms
[app-scripts] [09:07:53] transpile started ...
[app-scripts] [09:07:57] transpile finished in 4.58 s
[app-scripts] [09:07:57] preprocess started ...
[app-scripts] [09:07:57] preprocess finished in less than 1 ms
[app-scripts] [09:07:57] webpack started ...
[app-scripts] [09:07:58] copy finished in 5.55 s
[app-scripts] [09:08:06] webpack finished in 8.94 s
[app-scripts] [09:08:06] 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 toundefined
to prevent this warning.[app-scripts] [09:08:09] sass finished in 2.46 s
[app-scripts] [09:08:09] postprocess started ...
[app-scripts] [09:08:09] postprocess finished in 16 ms
[app-scripts] [09:08:09] lint started ...
[app-scripts] [09:08:09] build dev finished in 16.76 s
[app-scripts] [09:08:09] watch ready in 17.38 s
[app-scripts] [09:08:10] lint finished in 1.48 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...
[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...
after :
[app-scripts] [09:10:37] ionic-app-scripts 3.1.9
[app-scripts] [09:10:37] watch started ...
[app-scripts] [09:10:37] build dev started ...
[app-scripts] events.js:160
[app-scripts] throw er; // Unhandled 'error' event
[app-scripts] ^
[app-scripts]
[app-scripts] Error: listen EADDRINUSE :::53703
[app-scripts] at Object.exports._errnoException (util.js:1020:11)
[app-scripts] at exports._exceptionWithHostPort (util.js:1043:20)
[app-scripts] at Server._listen2 (net.js:1258:14)
[app-scripts] at listen (net.js:1294:10)
[app-scripts] at net.js:1404:9
[app-scripts] at _combinedTickCallback (internal/process/next_tick.js:83:11)
[app-scripts] at process._tickCallback (internal/process/next_tick.js:104:9)
[app-scripts] at Module.runMain (module.js:606:11)
[app-scripts] at run (bootstrap_node.js:389:7)
[app-scripts] at startup (bootstrap_node.js:149:9)
My
ionic info
:Ionic:
ionic (Ionic CLI) : 4.0.1
Ionic Framework : ionic-angular 3.7.1
@ionic/app-scripts : 3.1.9
Cordova:
cordova (Cordova CLI) : 7.0.1
Cordova Platforms : android 6.3.0, ios, windows 5.0.0
System:
Android SDK Tools : 26.1.1
NodeJS : v6.11.3 (C:\Program Files\nodejs\node.exe)
npm : 2.15.12
OS : Windows 10
Environment:
ANDROID_HOME : C:\Users\laurine.wermann\AppData\Local\Android\sdk
Other Information:
Before getting these errors, I made this :
" [ERROR] Unable to find command: C:\Program Files\nodejs\node.exe
C:\Users\Username\AppData\Roaming\npm\node_modules\ionic\bin\ionic platform add android"
Uninstalled and reinstalled ionic as adviced here : https://stackoverflow.com/questions/51527480/unable-to-find-command-c-program-files-nodejs-node-exe
The text was updated successfully, but these errors were encountered: