0

I deleted the node_modules folder and package-lock.json, and ran this:

Meteor npm install @mui/[email protected]
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: [email protected]
npm error Found: @mui/[email protected]
npm error node_modules/@mui/material
npm error @mui/material@"7.3.4" from the root project
npm error
npm error Could not resolve dependency:
npm error peer @mui/material@"^5.15.14 || ^6.0.0" from @mui/[email protected]
npm error node_modules/@mui/x-date-pickers
npm error @mui/x-date-pickers@"7.27.3" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.

I also tried it this way:

Meteor npm install @mui/[email protected]
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: [email protected]
npm error Found: @mui/[email protected]
npm error node_modules/@mui/material
npm error @mui/material@"7.3.4" from the root project
npm error
npm error Could not resolve dependency:
npm error peer @mui/material@"^5.15.14 || ^6.0.0" from @mui/[email protected]
npm error node_modules/@mui/x-date-pickers
npm error @mui/x-date-pickers@"7.27.3" from the root project

This doesn't make any sense to me so far. I'm installing just one mui package, and it seems to have a dependency on another mui package that is incompatible with it.

What am I missing?

1 Answer 1

0

LOL. At this time there is no `@mui/material@"7.3.4"`. Back it up to 7.3.3 and it installs. I did not install x-date-pickers until everything else had installed.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.