Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
emjaksa opened this issue Jun 16, 2022 · 1 comment
Labels
dependencies Pull requests that update a dependency file

Comments

@emjaksa
Copy link

emjaksa commented Jun 16, 2022

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

@bluebill1049
Copy link
Member

want to send us a PR?

@bluebill1049 bluebill1049 added the dependencies Pull requests that update a dependency file label Jun 18, 2022
@welcomemax welcomemax mentioned this issue Jul 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

No branches or pull requests

2 participants