-
-
Notifications
You must be signed in to change notification settings - Fork 539
Open
Description
Hello, I'm trying to upgrade a project from React 18.3 to 19.1. It is using voyager for graphql visualization (hurray it's nice!) and after the upgrade I'm getting lots of warnings during npm install.
If I understand the warnings correctly, they mean that dependencies of graphql-voyager (mui et al) are hard-coded to pre React 19.0?
npm warn Could not resolve dependency:
npm warn peer react@"^17.0.0 || ^18.0.0" from @mui/[email protected]
npm warn node_modules/graphql-voyager/node_modules/@mui/icons-material
npm warn @mui/icons-material@"5.16.7" from [email protected]
npm warn node_modules/graphql-voyager
npm warn
npm warn Conflicting peer dependency: [email protected]
npm warn node_modules/react
npm warn peer react@"^17.0.0 || ^18.0.0" from @mui/[email protected]
npm warn node_modules/graphql-voyager/node_modules/@mui/icons-material
npm warn @mui/icons-material@"5.16.7" from [email protected]
npm warn node_modules/graphql-voyager
npm warn ERESOLVE overriding peer dependency
npm warn While resolving: @mui/[email protected]
npm warn Found: [email protected]
npm warn node_modules/react
npm warn react@"19.1.0" from the root project
npm warn 23 more (@apollo/client, @emotion/react, @emotion/styled, ...)
npm warn
npm warn Could not resolve dependency:
npm warn peer react@"^17.0.0 || ^18.0.0" from @mui/[email protected]
npm warn node_modules/graphql-voyager/node_modules/@mui/lab
npm warn @mui/lab@"5.0.0-alpha.169" from [email protected]
npm warn node_modules/graphql-voyager
npm warn
npm warn Conflicting peer dependency: [email protected]
npm warn node_modules/react
npm warn peer react@"^17.0.0 || ^18.0.0" from @mui/[email protected]
npm warn node_modules/graphql-voyager/node_modules/@mui/lab
npm warn @mui/lab@"5.0.0-alpha.169" from [email protected]
npm warn node_modules/graphql-voyager
npm warn ERESOLVE overriding peer dependency
npm warn While resolving: @mui/[email protected]
npm warn Found: [email protected]
npm warn node_modules/react
npm warn react@"19.1.0" from the root project
npm warn 23 more (@apollo/client, @emotion/react, @emotion/styled, ...)
npm warn
npm warn Could not resolve dependency:
npm warn peer react@"^17.0.0 || ^18.0.0" from @mui/[email protected]
npm warn node_modules/graphql-voyager/node_modules/@mui/material
npm warn @mui/material@"5.16.7" from [email protected]
npm warn node_modules/graphql-voyager
npm warn 2 more (@mui/icons-material, @mui/lab)
npm warn
npm warn Conflicting peer dependency: [email protected]
npm warn node_modules/react
npm warn peer react@"^17.0.0 || ^18.0.0" from @mui/[email protected]
npm warn node_modules/graphql-voyager/node_modules/@mui/material
npm warn @mui/material@"5.16.7" from [email protected]
npm warn node_modules/graphql-voyager
npm warn 2 more (@mui/icons-material, @mui/lab)
npm warn ERESOLVE overriding peer dependency
npm warn While resolving: [email protected]
npm warn Found: [email protected]
npm warn node_modules/react
npm warn react@"19.1.0" from the root project
npm warn 23 more (@apollo/client, @emotion/react, @emotion/styled, ...)
npm warn
npm warn Could not resolve dependency:
npm warn peer react@"^18.3.1" from [email protected]
npm warn node_modules/graphql-voyager/node_modules/react-dom
npm warn peer react-dom@"^17.0.0 || ^18.0.0" from @mui/[email protected]
npm warn node_modules/graphql-voyager/node_modules/@mui/lab
npm warn 2 more (@mui/base, @mui/material)
npm warn
npm warn Conflicting peer dependency: [email protected]
npm warn node_modules/react
npm warn peer react@"^18.3.1" from [email protected]
npm warn node_modules/graphql-voyager/node_modules/react-dom
npm warn peer react-dom@"^17.0.0 || ^18.0.0" from @mui/[email protected]
npm warn node_modules/graphql-voyager/node_modules/@mui/lab
npm warn 2 more (@mui/base, @mui/material)
npm warn ERESOLVE overriding peer dependency
npm warn While resolving: @mui/[email protected]
npm warn Found: [email protected]
npm warn node_modules/react
npm warn react@"19.1.0" from the root project
npm warn 23 more (@apollo/client, @emotion/react, @emotion/styled, ...)
npm warn
npm warn Could not resolve dependency:
npm warn peer react@"^17.0.0 || ^18.0.0" from @mui/[email protected]
npm warn node_modules/graphql-voyager/node_modules/@mui/lab/node_modules/@mui/base
npm warn @mui/base@"5.0.0-beta.40" from @mui/[email protected]
npm warn node_modules/graphql-voyager/node_modules/@mui/lab
Is it possible to upgrade those dependencies of voyager?
isellsoap
Metadata
Metadata
Assignees
Labels
No labels