[Bug]: Unable to install eslint-plugin-react-compiler
Nessuno ha ancora preso questa issue.
- Lingua principale
- JavaScript
- Stelle
- 11.8k
- Fork
- 7.9k
- Merge medio
- 1g 11h
- PR unite (30g)
- 11
Descrizione
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
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Apri le istruzioni di React Compiler all’indirizzo https://react.dev/learn/react-compiler ed esegui nuovamente npm install eslint-plugin-react-compiler, usando il log degli errori allegato come evidenza iniziale. Conferma che il comando documentato o le relative indicazioni risolvano l’errore ERESOLVE segnalato; l’attività è completata quando il percorso di installazione non porta più al conflitto segnalato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- javascript, react
- Ambito
- documentation
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100