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

@mui/[email protected] incompatible with @mui/[email protected] #44112

Closed
Janpot opened this issue Oct 15, 2024 · 2 comments · Fixed by #44421
Closed

@mui/[email protected] incompatible with @mui/[email protected] #44112

Janpot opened this issue Oct 15, 2024 · 2 comments · Fixed by #44421
Assignees
Labels
bug 🐛 Something doesn't work package: styled-engine Specific to @mui/styled-engine

Comments

@Janpot
Copy link
Member

Janpot commented Oct 15, 2024

Steps to reproduce

Originally commented on #44105, but it's a different issue

Seeing issues in mui/toolpad#4257. @mui/[email protected] is not compatible with @mui/[email protected] even though the latter declares its dependency on @mui/styled-engine as ^6.1.1. Something similar is going on with @mui/utils. The result is that package managers may update transitive dependencies according to semver and break setups.

There's a workaround described in mui/toolpad#4257 that uses package manager resolutions.

Reproductions:

  • reproduction for internal_processStyles in Stackblitz
  • reproduction for @mui/utils/getReactNodeRef in Stackblitz

Looks like it's caused by a set of breaking changes to internal APIs:

Current behavior

No response

Expected behavior

No response

Context

No response

Your environment

npx @mui/envinfo
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.

Search keywords: internal_processStyles

@aarongarciah
Copy link
Member

aarongarciah commented Oct 29, 2024

Today we merged #44248 to bring @mui/utils/getReactNodeRef back. @mnajdova do you have an idea on how to fix the internal_processStyles case?

@mnajdova mnajdova added bug 🐛 Something doesn't work and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Nov 15, 2024
Copy link

This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue.
Now, if you have additional information related to this issue or things that could help future readers, feel free to leave a comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work package: styled-engine Specific to @mui/styled-engine
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants