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

error while runingthe code #13589

Open
Karthi-06 opened this issue May 16, 2024 · 1 comment
Open

error while runingthe code #13589

Karthi-06 opened this issue May 16, 2024 · 1 comment

Comments

@Karthi-06
Copy link

npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: material-ui-chip-input@1.1.0
npm error Found: @material-ui/core@4.11.2
npm error node_modules/@material-ui/core
npm error @material-ui/core@"^4.11.2" from the root project
npm error peer @material-ui/core@"^4.0.0" from @material-ui/icons@4.11.2
npm error node_modules/@material-ui/icons
npm error @material-ui/icons@"^4.11.2" from the root project
npm error 1 more (@material-ui/lab)
npm error
npm error Could not resolve dependency:
npm error peer @material-ui/core@"^1.0.0 || ^3.1.0" from material-ui-chip-input@1.1.0
npm error node_modules/material-ui-chip-input
npm error material-ui-chip-input@"^1.1.0" from the root project
npm error
npm error Conflicting peer dependency: @material-ui/core@3.9.4
npm error node_modules/@material-ui/core
npm error peer @material-ui/core@"^1.0.0 || ^3.1.0" from material-ui-chip-input@1.1.0
npm error node_modules/material-ui-chip-input
npm error material-ui-chip-input@"^1.1.0" 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.
npm error
npm error
npm error For a full report see:
npm error C:\Users\Karthik Shetty\AppData\Local\npm-cache_logs\2024-05-16T07_19_17_013Z-eresolve-report.txt
npm error A complete log of this run can be found in: C:\Users\Karthik Shetty\AppData\Local\npm-cache_logs\2024-05-16T07_19_17_013Z-debug-0.log

@jainlokesh318
Copy link

It seems you are facing peer dependency conflicts, either you can use yarn which can resolve it right away or you can do manually

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

2 participants