-
-
Notifications
You must be signed in to change notification settings - Fork 5.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
Fix simple example doesn't run on CodeSandbox #5928
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should update all the other react-admin dependencies to target 3.12.4
instead
examples/simple/package.json
Outdated
@@ -42,6 +42,7 @@ | |||
"ra-input-rich-text": "^3.9.0", | |||
"ra-language-english": "^3.9.0", | |||
"ra-language-french": "^3.9.0", | |||
"ra-ui-materialui": "^3.9.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ra-ui-materialui
is a dependency of react-admin
, this shouldn't be necessary
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes that's what I thought as well. I'll try to update all the other dependencies then .
I think the problem is in the CodeSandbox side; If you clone the defautl react-admin codesandbox, it works... |
I don't really know what was wrong but after updating all ra-related packages, it works fine. I've updated my PR. |
Except some of the packages don't have a version 3.12... |
Indeed 🙈 |
your JSON is invalid. I suggest you test your patch before pushing it. |
Sorry for the inconvenience. 😞 |
Thanks! |
The goal is to fix the Codesandbox for the Simple example which is currently broken.
Here's an example codesandbox with the fix implemented in this PR: https://codesandbox.io/s/funny-colden-7p1in