FirebaseExtended / FirebaseExtended/codelab-dataconnect-web
App NPM Install error
- Lingua principale
- TypeScript
- Stelle
- 12
- Fork
- 22
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Getting this on npm install
```
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: @vitejs/plugin-react@4.7.0
npm error Found: vite@8.0.7
npm error node_modules/vite
npm error dev vite@"^8.0.7" from the root project
npm error
npm error Could not resolve dependency:
npm error peer vite@"^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0" from @vitejs/plugin-react@4.7.0
npm error node_modules/@vitejs/plugin-react
npm error dev @vitejs/plugin-react@"^4.7.0" from the root project
npm error
npm error Conflicting peer dependency: vite@7.3.2
npm error node_modules/vite
npm error peer vite@"^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0" from @vitejs/plugin-react@4.7.0
npm error node_modules/@vitejs/plugin-react
npm error dev @vitejs/plugin-react@"^4.7.0" 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.
```
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia ispezionando le dichiarazioni delle dipendenze nella root per vite e @vitejs/plugin-react, usando come punto di partenza il conflitto tra le versioni peer segnalato. Esegui npm install dopo aver allineato le versioni dichiarate; il lavoro è completato quando l'installazione viene risolta senza --force o --legacy-peer-deps.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- react, typescript
- Ambito
- build-system, tooling
- Tipo di issue
- Bug
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Tranquilla
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100