mui-color icon indicating copy to clipboard operation
mui-color copied to clipboard

Library does not work without @mui/styles

Open dmitriy-baltak opened this issue 2 years ago • 2 comments

It fails with error: Module not found: Can't resolve '@mui/styles' Which is basically deprecated to use with mui5

dmitriy-baltak avatar Sep 12 '22 12:09 dmitriy-baltak

Hi, I've got this dependency error on npm install mui-color :

npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: [email protected] npm ERR! Found: [email protected] npm ERR! node_modules/react npm ERR! react@"^18.2.0" from the root project npm ERR! peer react@">=16.8.0" from @emotion/[email protected] npm ERR! node_modules/@emotion/react npm ERR! @emotion/react@"^11.9.3" from the root project npm ERR! peer @emotion/react@"^11.5.0" from [email protected] npm ERR! node_modules/mui-color npm ERR! mui-color@"" from the root project npm ERR! 2 more (@emotion/styled, @mui/material) npm ERR! 3 more (@emotion/styled, @mui/material, react-dom) npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react@"^17.0.0" from @mui/[email protected] npm ERR! node_modules/@mui/styles npm ERR! peer @mui/styles@"^5.2.2" from [email protected] npm ERR! node_modules/mui-color npm ERR! mui-color@"" from the root project

"dependencies": { "@emotion/react": "^11.9.3", "@emotion/styled": "^11.9.3", "@mui/icons-material": "^5.8.4", "@mui/material": "^5.9.0", "@testing-library/jest-dom": "^5.16.4", "@testing-library/react": "^13.3.0", "@testing-library/user-event": "^13.5.0", "archimate-js-core": "file:../../archimate-js-refactor/", "axios": "^0.27.2", "material-ui-popup-state": "^4.0.2", "prop-types": "^15.8.1", "react": "^18.2.0", "react-dom": "^18.2.0", "react-router-dom": "^6.3.0", "react-scripts": "5.0.1", "web-vitals": "^2.1.4"

Thanks for your help.

vbo75 avatar Sep 20 '22 17:09 vbo75

+1

nazrdogan avatar Dec 29 '22 09:12 nazrdogan