-
-
Notifications
You must be signed in to change notification settings - Fork 32.6k
Description
Steps to reproduce
"dependencies": { "@mui/icons-material": "^5.14.11", "@mui/material": "^5.14.11", "@mui/styled-engine": "npm:@mui/styled-engine-sc@latest", "@mui/styled-engine-sc": "^5.14.11", "@mui/styles": "^5.14.11" }, "resolutions": { "@mui/styled-engine": "npm:@mui/[email protected]" }
These are our current package.json for the mui. On build the project we are observing this issue -
$ node scripts/build.js --max_old_space_size=4096
Creating an optimized production build...
Failed to compile.
./node_modules/@mui/system/esm/createStyled.js
EXEC : Attempted import error : 'internal_serializeStyles' is not exported from '@mui/styled-engine' (imported as 'serializeStyles'). [/var/jenkins/workspace/react-core_develop/src/SumTotal.ReactCore.Web/SumTotal.ReactCore.Web.csproj]
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
/var/jenkins/workspace/react-core_develop/src/SumTotal.ReactCore.Web/SumTotal.ReactCore.Web.csproj(50,3): error MSB3073: The command "yarn build" exited with code 1.
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: Build failing