-
-
Notifications
You must be signed in to change notification settings - Fork 72
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
1.10 requires react 18.2 as a peerDependency. #465
Comments
@b6pzeusbc54tvhw5jgpyw8pwz2x6gs For an upcoming feature( But indeed that should not be as part of a peerDependency. I will open a PR soon to fix this :) |
@b6pzeusbc54tvhw5jgpyw8pwz2x6gs Version |
The npm install command completes with the following warning.
However, the generate command throws an error.
Reinstall react to 18 and run it and it should work.
|
What platform is your computer?
MacOS
How did you attempt to install or upgrade?
What do you see instead?
Additional information
I'm using react 17, no problem with kubb 1.9, but with 1.10 I'm getting an error that it conflicts with react 18 peerDependency.
I can use the
--force
or--legacy-peer-deps
option, but this will also disable other peerDependency checks, so if possible, I would like kubb to not have react 18 as a peerDependency. Why does kubb use react 18 as a peerDependency? Is it possible to remove react 18 as a peerDependency?The text was updated successfully, but these errors were encountered: