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

Open
Janpot opened this issue Oct 15, 2024 · 0 comments
Open

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

Janpot opened this issue Oct 15, 2024 · 0 comments
Assignees
Labels
package: styled-engine Specific to @mui/styled-engine status: waiting for maintainer These issues haven't been looked at yet by a maintainer

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: styled-engine Specific to @mui/styled-engine status: waiting for maintainer These issues haven't been looked at yet by a maintainer
Projects
None yet
Development

No branches or pull requests

3 participants