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

Must use --legacy-peer-deps to install when using MUI v. 6

Open Ben-CA opened this issue 1 year ago • 0 comments

Must use --legacy-peer-deps to install when using MUI v. 6. Otherwise I get:

npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: [email protected] npm ERR! Found: @mui/[email protected] npm ERR! node_modules/@mui/material npm ERR! @mui/material@"^6.1.1" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer @mui/material@"^5.0.1" from [email protected] npm ERR! node_modules/mui-image npm ERR! mui-image@"*" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

Ben-CA avatar Oct 22 '24 21:10 Ben-CA