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
When running preset-safe codemod, I get a Transformation error (Cannot find module '@material-ui/core/modern/colors') #28542
Comments
@mnajdova I thought we fixed this, do you have any idea? |
I'm seeing exactly what @nratter is seeing. |
I'm also getting the same erros but for multiple core-js modules, when running
|
@nratter, @guyellis, @luissardon May I ask
|
@siriwatknp 1. from my package.json:
|
This is fixed by #28812 |
i still get this error. how to solve it please ? |
@alainib are you using the latest version of the codemod package? |
Current Behavior 馃槸
When running
npx @mui/codemod v5.0.0/preset-safe .
I get lots of the following errors...I'm getting this error for every file where I'm importing a color from @material-ui/core... in this particular file
muiNeutralTheme.ts
, I'm importingblueGrey
color using the following line...Consequently, the codemod script seems to hang and these color import lines do not get migrated to import from @mui/material
Expected Behavior 馃
Expect it to migrate without error
Steps to Reproduce 馃暪
Follow the steps in the v4 to v5 migration for 5.0.1
Your Environment 馃寧
`npx @mui/envinfo`
The text was updated successfully, but these errors were encountered: