ionic serve stuck on "Waiting for connectivity with react-scripts" with Node v18
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 35/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- nodejs, react, typescript
- Bereich
- cli, developer-experience
Rechercherichtung
Reproduziere das Problem mit einem neuen Ionic-React-Projekt unter Verwendung von ionic start my-app blank --type=react, und führe anschließend ionic serve unter Node v18.12.1 aus und vergleiche das Ergebnis mit Node v16.18.1. Beginne mit der Interaktion zwischen ionic serve und react-scripts; fertig ist die Aufgabe, wenn die Wartephase auf die Konnektivität nicht mehr wiederholt wird und Live-Reload unter Node 18 funktioniert.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Description:
Node v18.12.1 is the current LTS version. Running ionic serve in an Ionic React project created by the Ionic CLI keeps logging
[INFO] Waiting for connectivity with react-scripts...
and 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
ionic start my-app blank --type=react
cd my-app
ionic serve
Output:
% ionic serve
> react-scripts start
[react-scripts] (node:15924) [DEP_WEBPACK_DEV_SERVER_ON_AFTER_SETUP_MIDDLEWARE] DeprecationWarning: 'onAfterSetupMiddleware' option is deprecated. Please use the 'setupMiddlewares' option.
[react-scripts] (Use `node --trace-deprecation ...` to show where the warning was created)
[react-scripts] (node:15924) [DEP_WEBPACK_DEV_SERVER_ON_BEFORE_SETUP_MIDDLEWARE] DeprecationWarning: 'onBeforeSetupMiddleware' option is deprecated. Please use the 'setupMiddlewares' option.
[react-scripts] Starting the development server...
[react-scripts]
[react-scripts] You can now view my-app in the browser.
[react-scripts] Local: http://localhost:8100
[react-scripts] On Your Network: http://192.168.1.120:8100
[react-scripts] Note that the development build is not optimized.
[react-scripts] To create a production build, use npm run build.
[react-scripts] webpack compiled successfully
[react-scripts] Files successfully emitted, waiting for typecheck results...
[react-scripts] Issues checking in progress...
[react-scripts] No issues found.
[INFO] Waiting for connectivity with react-scripts...
[INFO] Waiting for connectivity with react-scripts...
(repeats last message forever)
My ionic info:
Ionic:
Ionic CLI : 6.20.4 (/Users/mirko/.nvm/versions/node/v18.12.1/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/react 6.4.0
Capacitor:
Capacitor CLI : 4.6.1
@capacitor/android : not installed
@capacitor/core : 4.6.1
@capacitor/ios : not installed
Utility:
cordova-res : not installed globally
native-run : 1.7.1
System:
NodeJS : v18.12.1 (/Users/mirko/.nvm/versions/node/v18.12.1/bin/node)
npm : 8.19.2
OS : macOS
Other Information:
In the Ionic Forum: [INFO] Waiting for connectivity with react-scripts
- Vorherrschende Sprache
- TypeScript
- Sterne
- 2k
- Forks
- 681
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Entwicklungsumgebung
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus ionic-team/ionic-cli
-
triage
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 65/100
ionic-team/ionic-cli#5016 ·
-
triage
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 15/100
ionic-team/ionic-cli#5131 ·
-
triage
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 56/100
ionic-team/ionic-cli#5130 ·
-
triage
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 72/100
ionic-team/ionic-cli#5129 ·
-
triage
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 42/100
ionic-team/ionic-cli#5127 · 2 Kommentare ·
Alle Issues in ionic-team/ionic-cli
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
openedx/frontend-app-authoring#3274 ·
Maintainer antworten meist innerhalb von 1 Tag
-
🎙️ task - fix(deployer): deploy --env prep runs deploy:dev where the repo declares deploy:prepOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
-
area/documentation status/need-triage
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 95/100
google-gemini/gemini-cli#29548 ·
Maintainer antworten meist innerhalb von 1 Tag
-
sdk-typescript vector-store
Schwierigkeit 2/5 Ein halber Tag Anfängerfreundlichkeit 82/100
mem0ai/mem0#7495 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
Maintainer antworten meist innerhalb von 1 Tag