Open mirkonasato opened 1 year ago
I have something similar with Vue, but the message is Waiting for connectivity with vue-cli-service...
Using react-scripts start
directly is not getting the “Waiting for connectivity with react-scripts... “ issue from ionic serve
It can be a workaround until we have a solution for it.
"scripts": {
"start": "react-scripts start",
...
}
Run npm run start
I had this same issue after updating to Node v18. I was able to get around it by adding the --external
option (even though it seems like it shouldn't be required).
Still no fix ?
Same issue here....
Waiting for connectivity with vue-cli-service...
--external
seems to help
I had this same issue after updating to Node v18. I was able to get around it by adding the
--external
option (even though it seems like it shouldn't be required).
Thank you very much. That helped me to run my Ionic-React app after 1 month of researchers. Thank you a lot <3.
This all works fine in node 20 without the --external
flag
On Node 20 with Ionic 7 and capacitor 6 and with the --external
flag I'm seeing the "Waiting for connectivity with" info statement. If I drop the flag, then it does load the app, but the web page connection is refused.
ionic capacitor run android --livereload --external
worked in this configuration when using Webpack, but no longer works now that we've switched to Vite.
EDIT: It works on a fresh install of Ionic, but doesn't work on my existing project (even after upgrading to Ionic 8) 🥴
I got it to work by setting host: true
in my Vite configuration.
Description:
Node v18.12.1 is the current LTS version. Running
ionic serve
in an Ionic React project created by the Ionic CLI keeps loggingand as a result live reload doesn't work.
The exact same project runs fine with Node v16.18.1.
Steps to Reproduce:
Simply create a new Ionic React project and start it
Output:
My
ionic info
:Other Information:
In the Ionic Forum: [INFO] Waiting for connectivity with react-scripts