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: react-reconciler@0.26.2
npm WARN Found: react@18.2.0
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 react-reconciler@0.26.2
npm WARN node_modules/ink/node_modules/react-reconciler
npm WARN react-reconciler@"^0.26.2" from ink@3.2.0
npm WARN node_modules/ink
npm WARN
npm WARN Conflicting peer dependency: react@17.0.2
npm WARN node_modules/react
npm WARN peer react@"^17.0.2" from react-reconciler@0.26.2
npm WARN node_modules/ink/node_modules/react-reconciler
npm WARN react-reconciler@"^0.26.2" from ink@3.2.0
npm WARN node_modules/ink
The @openapi-codegen/cli depends on ink@3.2.0 which depends on react-reconciler@0.26.2 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 onink@3.2.0
which depends onreact-reconciler@0.26.2
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: