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

v8.0.6 cannot be installed due to peer dependency issue #2018

Closed
1 task done
xsjcTony opened this issue May 31, 2023 · 5 comments
Closed
1 task done

v8.0.6 cannot be installed due to peer dependency issue #2018

xsjcTony opened this issue May 31, 2023 · 5 comments

Comments

@xsjcTony
Copy link

What version of React, ReactDOM/React Native, Redux, and React Redux are you using?

  • React: 18.2.0
  • ReactDOM: 18.2.0
  • Redux: 4.2.1
  • React Redux: 8.0.5 (8.0.6 not able to install)

What is the current behavior?

npm WARN Could not resolve dependency:
npm WARN peerOptional @reduxjs/toolkit@"^5.0.0-beta.0" from react-redux@8.0.6
npm WARN node_modules/react-redux
npm WARN react-redux@"^8.0.6" from the root project
npm WARN 1 more (@reduxjs/toolkit)
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: react-redux@8.0.6
npm WARN Found: @reduxjs/toolkit@1.9.5
npm WARN node_modules/@reduxjs/toolkit
npm WARN @reduxjs/toolkit@"^1.9.5" from the root project


npm ERR! notarget No matching version found for @reduxjs/toolkit@^5.0.0-beta.0.

What is the expected behavior?

Should be able to run npm install


It's definitely a typo that it should be v2.0.0-beta.0 instead of v5.0.0-beta.0 (THIS IS CRITICAL TO FIX)

But I think it should allow v1.9.5 as well at this stage, since it doesn't make sense to force a beta version here

Which browser and OS are affected by this issue?

Irrelavent

Did this work in previous versions of React Redux?

  • Yes
@xsjcTony
Copy link
Author

image

@markerikson
Copy link
Contributor

Whoops, yep, I'm an idiot :) Fixing!

@markerikson
Copy link
Contributor

okay, v8.0.7 is out - please let me know if that fixes the issue!

@EskiMojo14 EskiMojo14 changed the title v8.0.6: peer dependency issue v8.0.6 cannot be installed due to peer dependency issue May 31, 2023
@xsjcTony
Copy link
Author

Everything works well now. Thanks!

@markerikson
Copy link
Contributor

Yep, thanks for reporting, and sorry about that! (my fault - publishing a whole bunch of package beta versions today, while sitting in an airport waiting for a delayed flight, and simply wrote that wrong!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants