
Error al importar react-date-range
Publicado por German (1 intervención) el 10/04/2023 13:18:35
Cuando importo react-date-range me salen todos estos errores y no puedo continuar con el proyecto
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: @material-ui/core@4.12.4
npm ERR! Found: react@18.2.0
npm ERR! node_modules/react
npm ERR! peer react@"^18.0.0" from @testing-library/react@13.4.0
npm ERR! node_modules/@testing-library/react
npm ERR! @testing-library/react@"^13.4.0" from the root project
npm ERR! peer react@"^18.2.0" from react-dom@18.2.0
npm ERR! node_modules/react-dom
npm ERR! peer react-dom@"^18.0.0" from @testing-library/react@13.4.0
npm ERR! node_modules/@testing-library/react
npm ERR! @testing-library/react@"^13.4.0" from the root project
npm ERR! peer react-dom@">=16.8" from react-router-dom@6.9.0
npm ERR! node_modules/react-router-dom
npm ERR! react-router-dom@"^6.9.0" from the root project
npm ERR! 2 more (react-transition-group, the root project)
npm ERR! 6 more (react-router, react-router-dom, react-scripts, ...)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! @material-ui/core@"^4.12.4" 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.
npm ERR!
npm ERR!
npm ERR! For a full report see:
npm ERR! C:\Users\geelm\AppData\Local\npm-cache\_logs\2023-04-10T11_07_55_786Z-eresolve-report.txt
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\geelm\AppData\Local\npm-cache\_logs\2023-04-10T11_07_55_786Z-debug-0.log
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: @material-ui/core@4.12.4
npm ERR! Found: react@18.2.0
npm ERR! node_modules/react
npm ERR! peer react@"^18.0.0" from @testing-library/react@13.4.0
npm ERR! node_modules/@testing-library/react
npm ERR! @testing-library/react@"^13.4.0" from the root project
npm ERR! peer react@"^18.2.0" from react-dom@18.2.0
npm ERR! node_modules/react-dom
npm ERR! peer react-dom@"^18.0.0" from @testing-library/react@13.4.0
npm ERR! node_modules/@testing-library/react
npm ERR! @testing-library/react@"^13.4.0" from the root project
npm ERR! peer react-dom@">=16.8" from react-router-dom@6.9.0
npm ERR! node_modules/react-router-dom
npm ERR! react-router-dom@"^6.9.0" from the root project
npm ERR! 2 more (react-transition-group, the root project)
npm ERR! 6 more (react-router, react-router-dom, react-scripts, ...)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! @material-ui/core@"^4.12.4" 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.
npm ERR!
npm ERR!
npm ERR! For a full report see:
npm ERR! C:\Users\geelm\AppData\Local\npm-cache\_logs\2023-04-10T11_07_55_786Z-eresolve-report.txt
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\geelm\AppData\Local\npm-cache\_logs\2023-04-10T11_07_55_786Z-debug-0.log
Valora esta pregunta


0