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

Library does not work without @mui/styles #8

Open
dmitriy-baltak opened this issue Sep 12, 2022 · 2 comments
Open

Library does not work without @mui/styles #8

dmitriy-baltak opened this issue Sep 12, 2022 · 2 comments

Comments

@dmitriy-baltak
Copy link

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

@vbo75
Copy link

vbo75 commented Sep 20, 2022

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.

@nazrdogan
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants