[Bug]: Unable to install eslint-plugin-react-compiler
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- JavaScript
- Sterne
- 11.8k
- Forks
- 7.9k
- Ø Merge
- 1 T. 11 Std.
- Gemergte PRs (30 T.)
- 11
Beschreibung
Summary
Here (https://react.dev/learn/react-compiler) you are instructing us to run npm install eslint-plugin-react-compiler. But it causes an error:
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: @react-native-async-storage/async-storage@1.15.16
npm error Found: react-native@0.73.8
npm error node_modules/react-native
npm error peer react-native@">=0.60.0" from react-native-bootsplash@3.2.7
npm error node_modules/react-native-bootsplash
npm error react-native-bootsplash@"^3.2.3" from the root project
npm error peer react-native@">= 0.60" from react-native-branch@6.2.1
npm error node_modules/react-native-branch
npm error react-native-branch@"6.2.1" from the root project
npm error 37 more (react-native-collapsible, react-native-device-info, ...)
npm error
npm error Could not resolve dependency:
npm error peer react-native@"^0.0.0-0 || 0.60 - 0.67 || 1000.0.0" from @react-native-async-storage/async-storage@1.15.16
npm error node_modules/@react-native-async-storage/async-storage
npm error @react-native-async-storage/async-storage@"^1.15.15" from the root project
npm error
npm error Conflicting peer dependency: react-native@1000.0.0
npm error node_modules/react-native
npm error peer react-native@"^0.0.0-0 || 0.60 - 0.67 || 1000.0.0" from @react-native-async-storage/async-storage@1.15.16
npm error node_modules/@react-native-async-storage/async-storage
npm error @react-native-async-storage/async-storage@"^1.15.15" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
Page
https://react.dev/learn/react-compiler
Details
See attached log.
error.log
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Öffne die React-Compiler-Anleitung unter https://react.dev/learn/react-compiler und führe npm install eslint-plugin-react-compiler erneut aus, wobei das angehängte Fehlerprotokoll als Ausgangsevidenz dient. Bestätige, dass der dokumentierte Befehl oder seine Anleitung den gemeldeten ERESOLVE-Fehler behebt; abgeschlossen ist die Aufgabe, wenn der Installationspfad nicht mehr zu dem gemeldeten Konflikt führt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- javascript, react
- Bereich
- documentation
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100