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

React 18 is not supported as a peer dependency #5205

Closed
milohansen opened this issue Mar 29, 2022 · 4 comments · Fixed by #5226 or #5255
Closed

React 18 is not supported as a peer dependency #5205

milohansen opened this issue Mar 29, 2022 · 4 comments · Fixed by #5226 or #5255

Comments

@milohansen
Copy link

Environment

  • Package version(s): @blueprintjs/core: 4.0.2
  • Operating System: Windows 11
  • Browser name and version: n/a

Steps to reproduce

  1. Upgrade react and react-dom to version 18
  2. Run npm install

Expected behavior

npm install successfully completes.

Actual behavior

MicrosoftTeams-image

Possible solution

Update "peerDependencies" in package.json to support React 18.

@VadimCiv
Copy link

VadimCiv commented Apr 5, 2022

Same issue here. Can't update react lib

npm ERR! Could not resolve dependency: npm ERR! peer react@"^16.8 || 17" from @blueprintjs/[email protected]

@lavrton
Copy link

lavrton commented Apr 11, 2022

@adidahiya can you do the same for popover2 package?

@adidahiya
Copy link
Contributor

@lavrton whoops, sorry, I missed that package somehow. Fixing in #5255.

@kcculhwch
Copy link

kcculhwch commented May 1, 2023

I'm having the same issue with [email protected]
-- update
I see the issue is already open here #5699

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