The peerDependencies for react in @hookform/devtools do not match react-hook-form

Aperta
#138 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Ferma
Stack tecnologico
react, typescript
Ambito
devtools

Direzione di ricerca

Start in the @hookform/devtools package manifest and inspect its peerDependencies alongside the react-hook-form peerDependencies shown in the issue. Confirm the supported React and React DOM ranges, then verify that npm v8 can install the package with React 16. Done means the dependency ranges match the stated compatibility and the reported resolution error no longer occurs.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

dependencies

The peerDependencies for react in @hookform/devtools do not match react-hook-form.

node version = v16.15.1
npm version = v8.11.0

We are using react v16 and we can install react-hook-form but with npm v8 trying to install @hookform/devtools throws an error.

npm ERR! Could not resolve dependency:
npm ERR! peer react@">=17.0.2" from @hookform/devtools@4.1.0

The peerDependencies for react-hook-form

  "peerDependencies": {
    "react": "^16.8.0 || ^17 || ^18"
  },

The peerDependencies for @hookform/devtools

"peerDependencies": {
    "react": ">=17.0.2",
    "react-dom": ">=17.0.2",
    "react-hook-form": "^7.13.0"
  },

Please make the peerDependencies of @hookform/devtools match react-hook-form

Lingua principale
TypeScript
Stelle
670
Fork
55
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di react-hook-form/devtools

Tutte le issue di react-hook-form/devtools

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.