You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting below error when I do an npm install. I can add --force and it will install dependencies. But I am interested in getting this fixed instead of risking something not working using the --force option.
I am not sure how to read the error and how to find out where the conflict actually arises. It would be great if someone can help explain this, and if it is a GraphQL iVoyage issue, or if I need to raise my issue elsewhere.
Error:
% npm installnpm ERR! code ERESOLVEnpm ERR! ERESOLVE could not resolvenpm ERR! npm ERR! While resolving: [email protected]npm ERR! Found: [email protected]npm ERR! node_modules/reactnpm ERR! peer react@">=16.8.0" from @emotion/[email protected]npm ERR! node_modules/@emotion/reactnpm ERR! peer @emotion/react@"^11.0.0-rc.0" from @emotion/[email protected]npm ERR! node_modules/@emotion/stylednpm ERR! peerOptional @emotion/styled@"^11.3.0" from @mui/[email protected]npm ERR! node_modules/@mui/labnpm ERR! @mui/lab@"5.0.0-alpha.114" from [email protected]npm ERR! node_modules/graphql-voyagernpm ERR! 4 more (@mui/material, @mui/styled-engine, @mui/system, graphql-voyager)npm ERR! peerOptional @emotion/react@"^11.5.0" from @mui/[email protected]npm ERR! node_modules/@mui/labnpm ERR! @mui/lab@"5.0.0-alpha.114" from [email protected]npm ERR! node_modules/graphql-voyagernpm ERR! dev graphql-voyager@"^2.0.0" from the root projectnpm ERR! 4 more (@mui/material, @mui/styled-engine, @mui/system, graphql-voyager)npm ERR! peer react@">=16.8.0" from @emotion/[email protected]npm ERR! node_modules/@emotion/stylednpm ERR! peerOptional @emotion/styled@"^11.3.0" from @mui/[email protected]npm ERR! node_modules/@mui/labnpm ERR! @mui/lab@"5.0.0-alpha.114" from [email protected]npm ERR! node_modules/graphql-voyagernpm ERR! dev graphql-voyager@"^2.0.0" from the root projectnpm ERR! peerOptional @emotion/styled@"^11.3.0" from @mui/[email protected]npm ERR! node_modules/@mui/materialnpm ERR! peer @mui/material@"^5.0.0" from @mui/[email protected]npm ERR! node_modules/@mui/icons-materialnpm ERR! @mui/icons-material@"5.11.0" from [email protected]npm ERR! node_modules/graphql-voyagernpm ERR! 2 more (@mui/lab, graphql-voyager)npm ERR! 3 more (@mui/styled-engine, @mui/system, graphql-voyager)npm ERR! 15 more (@emotion/use-insertion-effect-with-fallbacks, ...)npm ERR! npm ERR! Could not resolve dependency:npm ERR! peer react@">=18.0.0" from [email protected]npm ERR! node_modules/graphql-voyagernpm ERR! dev graphql-voyager@"^2.0.0" from the root projectnpm ERR! npm ERR! Conflicting peer dependency: [email protected]npm ERR! node_modules/reactnpm ERR! peer react@">=18.0.0" from [email protected]npm ERR! node_modules/graphql-voyagernpm ERR! dev graphql-voyager@"^2.0.0" from the root projectnpm ERR! npm ERR! Fix the upstream dependency conflict, or retrynpm ERR! this command with --force or --legacy-peer-depsnpm ERR! to accept an incorrect (and potentially broken) dependency resolution.npm ERR! npm ERR! npm ERR! For a full report see:npm ERR! /Users/benjaminmogensen/.npm/_logs/2023-11-05T05_52_04_137Z-eresolve-report.txtnpm ERR! A complete log of this run can be found in: /Users/benjaminmogensen/.npm/_logs/2023-11-05T05_52_04_137Z-debug-0.log
Description
I am getting below error when I do an
npm install
. I can add--force
and it will install dependencies. But I am interested in getting this fixed instead of risking something not working using the--force
option.I am not sure how to read the error and how to find out where the conflict actually arises. It would be great if someone can help explain this, and if it is a GraphQL iVoyage issue, or if I need to raise my issue elsewhere.
Error:
Dependencies:
Thanks in advance.
The text was updated successfully, but these errors were encountered: