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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Building @mui/base breaks due to deprecated csstype.Property.ColorAdjust #31296
Comments
Facing this issue on Vite Build too when running Interestingly I cannot reproduce the same when using yarn as |
Facing same issue on VITE BUILD here... |
same here |
UPDATE: |
Any workarounds known? |
not sure. i can say that the previous version also has it 5.4.3 |
found a workaround and added
to the package.json, now it builds again |
Confirmed, good looking out. |
Same here.
Environment:
|
Same thing here, with different dockerized versisn of node: node:14.15-alpine3.10 Packages:
Using vite, I'm getting the following Typescript errors:
Adding @Anubiso workaround didn't solve the issue, at least not in development. |
Those using npm instead of yarn may want to try this instead:
Unfortunately for me, this breaks other dependencies. |
This works for me with @mui/base, but I'm still seeing this issue with @mui/x-data-grid. Anyone else experiencing that?
|
ugh i need that repo for the other repo i need to migrate |
Same issue here with Vite. I tried the resolutions above, but that made things worse and added 7 more |
I think I'm seeing those as well
MUI versions:
|
I just used |
After updating my packages to the latest versions, the problem was resolved. |
added
to the |
Yup, after upgrading |
I'm still having this issue with
My MUI versions:
Resolutions:
|
@victor-grajski Seems like |
hello friend, what command did you use? |
@c3-william-peng it still happens with the latest |
It looks like @mui/base v5.0.0-alpha.80 isn't including csstype as a dependency, which is breaking the build. |
Duplicates
Latest version
Current behavior 馃槸
When running
ttsc -b
I am seeing the following errors:Looking into csstype I see that they released a new version today from MDN data, which does not have the
color-adjust
property anymore.MDN docs also suggest that
color-adjust
is gone, as the page redirects instead toprint-color-adjust
.The solution is probably to update
import("csstype").Property.ColorAdjust
toimport("csstype").Property.PrintColorAdjust
, but in any case, this is breaking our builds.Expected behavior 馃
No errors should be outputted
Steps to reproduce 馃暪
Steps:
ttsc -b
Context 馃敠
We are trying to build our project with
ttsc -b
which has an indirect dependency on@mui/base
Your environment 馃寧
`npx @mui/envinfo`
The text was updated successfully, but these errors were encountered: