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

npm install error when updating to final-form v4.20.6 #963

Closed
blaxk opened this issue Dec 13, 2021 · 1 comment · Fixed by #967
Closed

npm install error when updating to final-form v4.20.6 #963

blaxk opened this issue Dec 13, 2021 · 1 comment · Fixed by #967

Comments

@blaxk
Copy link

blaxk commented Dec 13, 2021

npm v8.1.4

package.json

{
   ...
   "dependencies": {
      ...
      "final-form": "^4.20.6",
      "final-form-arrays": "^3.0.2",
      "final-form-submit-listener": "^1.0.0",
      "react-final-form": "^6.5.7",
      "react-final-form-arrays": "^3.1.3"
   }
}

npm install error

npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: www@0.0.0
npm WARN Found: final-form@4.20.4
npm WARN node_modules/final-form
npm WARN   final-form@"^4.20.6" from the root project
npm WARN   4 more (final-form-arrays, final-form-submit-listener, ...)
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer final-form@"4.20.4" from react-final-form@6.5.7
npm WARN node_modules/react-final-form
npm WARN   react-final-form@"^6.5.7" from the root project
npm WARN   1 more (react-final-form-arrays)
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: www@0.0.0
npm WARN Found: final-form@4.20.4
npm WARN node_modules/final-form
npm WARN   final-form@"^4.20.6" from the root project
npm WARN   4 more (final-form-arrays, final-form-submit-listener, ...)
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer final-form@"4.20.4" from react-final-form@6.5.7
npm WARN node_modules/react-final-form
npm WARN   react-final-form@"^6.5.7" from the root project
npm WARN   1 more (react-final-form-arrays)

It seems that you need to update the version of "final-form" in "peerDependencies" of "react-final-form".

@erikras
Copy link
Member

erikras commented Jan 31, 2022

Published fix in v6.5.8.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 31, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants