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

Fix simple example doesn't run on CodeSandbox #5928

Merged
merged 4 commits into from Feb 19, 2021

Conversation

ValentinH
Copy link
Contributor

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

@ValentinH ValentinH changed the title Add missing dependancy to Simple example Add missing dependency to Simple example Feb 17, 2021
Copy link
Contributor

@djhi djhi left a 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

@@ -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",
Copy link
Contributor

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

Copy link
Contributor Author

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 .

@fzaninotto
Copy link
Member

I think the problem is in the CodeSandbox side; If you clone the defautl react-admin codesandbox, it works...

@ValentinH
Copy link
Contributor Author

I don't really know what was wrong but after updating all ra-related packages, it works fine. I've updated my PR.

@fzaninotto
Copy link
Member

Except some of the packages don't have a version 3.12...

@ValentinH
Copy link
Contributor Author

Indeed 🙈
I fixed that by putting all the latest versions.

@fzaninotto
Copy link
Member

your JSON is invalid. I suggest you test your patch before pushing it.

@ValentinH
Copy link
Contributor Author

Sorry for the inconvenience. 😞

@fzaninotto fzaninotto changed the title Add missing dependency to Simple example Fix simple example doesn't run on CodeSandbox Feb 19, 2021
@fzaninotto fzaninotto merged commit ad664b2 into marmelab:master Feb 19, 2021
@fzaninotto
Copy link
Member

Thanks!

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

Successfully merging this pull request may close these issues.

None yet

3 participants