-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Cannot install for react 18 #2426
Comments
@types/react-beautiful-dnd cannot be installed for react 18.
|
Update: deleting node_modules and installing deps again solved the problem. |
Update : moving the content of the peer-dependency of [email protected] in package-lock.json solved the problem. |
is there another way to use this in react 18? |
Fix this for gods sake. There are no breaking changes just update react in your project. |
Try install with
|
Same problem |
Just update your react-beautiful-dnd dependencies it will solve the problem |
Will --force cause some other problems? |
In order to have dependencies I need to install it first on react 17, then move to react 18? and after that change the dnd dependencies? |
Yes that's what I did, I re-installed react 17.0.2 again , npm install => no problems , then I updated React to 18 npm install = > show the error , then I change the dependencies of react-beautiful-dnd to correspond to React 18 , npm install => no errors . |
Pleaseee can this be updated |
🎉 @hello-pangea/dnd now supports React 18 and react strict mode!
|
Nice! There's any discord/forum to support this lib? I would love to help |
Sure sure! Glad you're interested in helping out! https://discord.gg/3JqZpTFD (note: I just made this so it's pretty empty) We should probably move things over to the hello-pangea/dnd repo so we don't spam notify people here / get too off topic. |
Accepted react versions have been updated. Thanks for the patience on this folks |
…utiful-dnd to solve dependency issue. See atlassian/react-beautiful-dnd#2426
is there any update? |
In react 18 installed with vite , when installing react-beautiful-dnd, npm err happens.Anyone fix about it?
The text was updated successfully, but these errors were encountered: