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 created an application via npx create-react-app my-app --template typescript and then configured environment via npx @openapi-codegen/cli init.
After I removed node_modules folder and did npm install again i got next output:
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@"^18.2.0" from the root project
npm WARN 6 more (@apollo/client, @testing-library/react, ink, react-dom, ...)
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer react@"^17.0.2" from [email protected]
npm WARN node_modules/ink/node_modules/react-reconciler
npm WARN react-reconciler@"^0.26.2" from [email protected]
npm WARN node_modules/ink
npm WARN
npm WARN Conflicting peer dependency: [email protected]
npm WARN node_modules/react
npm WARN peer react@"^17.0.2" from [email protected]
npm WARN node_modules/ink/node_modules/react-reconciler
npm WARN react-reconciler@"^0.26.2" from [email protected]
npm WARN node_modules/ink
The @openapi-codegen/cli depends on [email protected] which depends on [email protected] which has react@"^17.0.2" as a peer dependency but it conflicts with react@18 which is used in the application.
Eventually everything installed correctly and works fine, but the warning looks dangerous.
The text was updated successfully, but these errors were encountered:
I created an application via
npx create-react-app my-app --template typescript
and then configured environment vianpx @openapi-codegen/cli init
.After I removed node_modules folder and did
npm install
again i got next output:The
@openapi-codegen/cli
depends on[email protected]
which depends on[email protected]
which hasreact@"^17.0.2"
as a peer dependency but it conflicts withreact@18
which is used in the application.Eventually everything installed correctly and works fine, but the warning looks dangerous.
The text was updated successfully, but these errors were encountered: