Hi All DSpace Tech,
I am getting the following error:
dspace-angular-dspace-10.0$ npm install
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: @mui/icons-m...@7.3.11
npm error Found: re...@16.14.0
npm error node_modules/react
npm error peer react@">=16" from @custom-react-hooks/use-elem...@1.5.1
npm error node_modules/@custom-react-hooks/use-element-size
npm error @custom-react-hooks/use-element-size@"^1.5.1" from mir...@4.0.0
npm error node_modules/mirador
npm error mirador@"^4.0.0" from the root project
npm error 2 more (mirador-dl-plugin, mirador-share-plugin)
npm error peer react@">=16.8.0" from @emotion/re...@11.14.0
npm error node_modules/@emotion/react
npm error peer @emotion/react@"^11.0.0-rc.0" from @emotion/sty...@11.14.1
npm error node_modules/@emotion/styled
npm error peerOptional @emotion/styled@"^11.3.0" from @mui/mate...@7.3.11
npm error node_modules/@mui/material
npm error peer @mui/material@"^7.3.11" from @mui/icons-m...@7.3.11
npm error node_modules/@mui/icons-material
npm error 4 more (mirador, mirador-dl-plugin, mirador-share-plugin, @mui/x-tree-view)
npm error 6 more (@mui/system, @mui/styled-engine, mirador, ...)
npm error peerOptional @emotion/react@"^11.5.0" from @mui/mate...@7.3.11
npm error node_modules/@mui/material
npm error peer @mui/material@"^7.3.11" from @mui/icons-m...@7.3.11
npm error node_modules/@mui/icons-material
npm error @mui/icons-material@"^7.0.0" from mir...@4.0.0
npm error node_modules/mirador
npm error 1 more (mirador-share-plugin)
npm error 4 more (mirador, mirador-dl-plugin, mirador-share-plugin, @mui/x-tree-view)
npm error 6 more (@mui/system, @mui/styled-engine, mirador, ...)
npm error 27 more (@emotion/styled, ...)
npm error
npm error Could not resolve dependency:
npm error peer react@"^17.0.0 || ^18.0.0 || ^19.0.0" from @mui/icons-m...@7.3.11
npm error node_modules/@mui/icons-material
npm error @mui/icons-material@"^7.0.0" from mir...@4.0.0
npm error node_modules/mirador
npm error mirador@"^4.0.0" from the root project
npm error 2 more (mirador-dl-plugin, mirador-share-plugin)
npm error peer @mui/icons-material@"^7.0.0" from mirador-sh...@1.0.0
npm error node_modules/mirador-share-plugin
npm error mirador-share-plugin@"^1.0.0" from the root project
npm error
npm error Conflicting peer dependency: re...@19.2.7
npm error node_modules/react
npm error peer react@"^17.0.0 || ^18.0.0 || ^19.0.0" from @mui/icons-m...@7.3.11
npm error node_modules/@mui/icons-material
npm error @mui/icons-material@"^7.0.0" from mir...@4.0.0
npm error node_modules/mirador
npm error mirador@"^4.0.0" from the root project
npm error 2 more (mirador-dl-plugin, mirador-share-plugin)
npm error peer @mui/icons-material@"^7.0.0" from mirador-sh...@1.0.0
npm error node_modules/mirador-share-plugin
npm error mirador-share-plugin@"^1.0.0" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry this command with --force or --legacy-peer-deps to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /dspace/.npm/_logs/2026-06-18T12_31_52_517Z-eresolve-report.txt
npm error A complete log of this run can be found in: /dspace/.npm/_logs/2026-06-18T12_31_52_517Z-debug-0.log
May you help where to adjust.
Regards,
Lewatle