These errors are not caused by node version but instead they are usually because of the node package manager npm to fail import legacy packages.
On Thu, Jun 18, 2026 at 4:41 PM Bold T Ncube <[email protected]> wrote: > Hi Lewatle, > > What node version are you using? It might be a node version issue > > Kind regards, > > On Thu, 18 Jun 2026 at 14:40, Lewatle Johannes Phaladi <[email protected]> > wrote: > >> 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/[email protected] >> npm error Found: [email protected] >> npm error node_modules/react >> npm error peer react@">=16" from >> @custom-react-hooks/[email protected] >> npm error node_modules/@custom-react-hooks/use-element-size >> npm error @custom-react-hooks/use-element-size@"^1.5.1" from >> [email protected] >> 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/[email protected] >> npm error node_modules/@emotion/react >> npm error peer @emotion/react@"^11.0.0-rc.0" from >> @emotion/[email protected] >> npm error node_modules/@emotion/styled >> npm error peerOptional @emotion/styled@"^11.3.0" from >> @mui/[email protected] >> npm error node_modules/@mui/material >> npm error peer @mui/material@"^7.3.11" from >> @mui/[email protected] >> 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/[email protected] >> npm error node_modules/@mui/material >> npm error peer @mui/material@"^7.3.11" from >> @mui/[email protected] >> npm error node_modules/@mui/icons-material >> npm error @mui/icons-material@"^7.0.0" from [email protected] >> 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/[email protected] >> npm error node_modules/@mui/icons-material >> npm error @mui/icons-material@"^7.0.0" from [email protected] >> 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 >> [email protected] >> 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: [email protected] >> npm error node_modules/react >> npm error peer react@"^17.0.0 || ^18.0.0 || ^19.0.0" from >> @mui/[email protected] >> npm error node_modules/@mui/icons-material >> npm error @mui/icons-material@"^7.0.0" from [email protected] >> 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 >> [email protected] >> 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 >> >> -- >> All messages to this mailing list should adhere to the Code of Conduct: >> https://lyrasis.org/code-of-conduct/ >> --- >> You received this message because you are subscribed to the Google Groups >> "DSpace Technical Support" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion visit >> https://groups.google.com/d/msgid/dspace-tech/e95b8fe7-cc4e-4532-bdda-704152a21e4en%40googlegroups.com >> <https://groups.google.com/d/msgid/dspace-tech/e95b8fe7-cc4e-4532-bdda-704152a21e4en%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > > *Disclaimer: *https://www.nust.ac.zw/index.php/e-mail-disclaimer.html > > *Privacy Notice: * > https://www.nust.ac.zw/index.php/privacy-notice.html.html > > -- > All messages to this mailing list should adhere to the Code of Conduct: > https://lyrasis.org/code-of-conduct/ > --- > You received this message because you are subscribed to the Google Groups > "DSpace Technical Support" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion visit > https://groups.google.com/d/msgid/dspace-tech/CAMMUn6hr94JvKQhGCYBmhiyMbXNEE-3_CuWhfNDLF2SJGuPGaA%40mail.gmail.com > <https://groups.google.com/d/msgid/dspace-tech/CAMMUn6hr94JvKQhGCYBmhiyMbXNEE-3_CuWhfNDLF2SJGuPGaA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- All messages to this mailing list should adhere to the Code of Conduct: https://lyrasis.org/code-of-conduct/ --- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/dspace-tech/CA%2BLKazr7%2BjBBAg5Ui5gPZH3Ly_LL8%2BS%3DtcpBfo6N9xj-mR9Kew%40mail.gmail.com.
