-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
netlify-cms-app fails to install with react 17 as version 6 of react-aria-menubutton in incompatible with react 17 #5376
Comments
Thanks @something-something-something, this is also an issue with |
Blocked by davidtheclark/react-aria-menubutton#133 |
This is now complete |
Woo @shirshendubhowmick, this is amazing. Thank you for the quick follow up ❤️ |
It seems the
|
Thanks @paulobarcelos, that's helpful. Looks like there's a PR for it scniro/react-codemirror2#224, but no comment from the maintainer. |
@erezrokah, by the looks of it, seems that project may be dead. Wonder if it would be a good idea for Netlifly CMS to change to the proposed updated fork while the original one doesn't change (if it ever will). Feels like halting support for React 17 is a bigger issue than dealing with the annoyance of having to migrate to an unofficial fork of the dependency. |
That fork doesn't seem to be updating frequently too and I don't think we want to install directly from GitHub. For React 17 + Not sure if we should find a completely different solution to our Code widget. Since this seems to be an issue with more that one dependency, we might have to think of a solution that doesn't involve chasing down maintainers. I wonder if there's a way we can update dependencies |
I get a similar error when trying to install the package
It seems that Is there a way we can move forward without using |
After waiting for months, I realized the whole project was only a couple of MIT-licensed files, so I just copied them into my project and was done with it. |
@JeremyGrieshop How did you integrate the copied files into the package? |
I don't have a public repository to share at this moment, but I just copied these 4 files into a local directory, called https://github.com/tomkp/react-split-pane/tree/master/src It does, at this time, require a polyfil, so you'll need to add |
@erezrokah would it be possible to follow what this user had commented on the PR in react-split-pane - tomkp/react-split-pane#681 (comment) and simply copy the needed components into the internals of Netlify CMS with the right license? |
Here's an example I quickly pushed to my personal repository that someone could copy into their own |
Hi everyone 👋 At this point I think we will accept a contribution that inlines |
@erezrokah Sounds great! I'm working on that right now in this fork https://github.com/LuisOsta/netlify-cms based on the version created by @JeremyGrieshop. Btw Jeremy let me know if the attribution I included in the commit looks good to you (I included the README and a link to your repository) |
@erezrokah If you could take a look when you have the time that'd be much appreciated |
Aside from react-split-pane are there any remaining packages that are causing React 17 compatibility issue? What's left for us to be able to definitely close this issue? |
Looks great! I hope you find it useful and that I didn't leave anything out of the original work. |
This seems to be fixed |
Describe the bug
When installing netlify-cms-app with react 17 the install fails with the following error:
It seems like
react-aria-menubutton
innetlify-cms-ui-default
needs to be upgraded to version 7.0.1 see: davidtheclark/react-aria-menubutton#140To Reproduce
Run
npm init -y && npm i react react-dom && npm i netlify-cms-app
in an empty directory.See Error
Expected behavior
netlify-cms-app
installs without having to use--legacy-peer-deps
Screenshots
NA
Applicable Versions:
CMS configuration
NA
Additional context
Seems like a dependency that didn't get updated while fixing
#5111
The text was updated successfully, but these errors were encountered: