awslabs / aws-mobile-appsync-sdk-js

JavaScript library files for Offline, Sync, Sigv4. includes support for React Native
Apache License 2.0
917 stars 265 forks source link

React 17 compatability #677

Open revmischa opened 2 years ago

revmischa commented 2 years ago

Do you want to request a feature or report a bug?

Bug

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.

Result:

❯ npm i -w fe-godview aws-appsync-react@4.0.9 aws-appsync @apollo/client
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: fe-godview@0.5.0
npm ERR! Found: react@17.0.2
npm ERR! node_modules/react
npm ERR!   react@"^17.0.2" from fe-godview@0.5.0
npm ERR!   packages/fe/godview
npm ERR!     fe-godview@0.5.0
npm ERR!     node_modules/fe-godview
npm ERR!       workspace packages/fe/godview from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react@"0.14.x || 15.* || ^15.0.0 || ^16.0.0" from aws-appsync-react@4.0.9
npm ERR! node_modules/aws-appsync-react
npm ERR!   aws-appsync-react@"4.0.9" from fe-godview@0.5.0
npm ERR!   packages/fe/godview
npm ERR!     fe-godview@0.5.0
npm ERR!     node_modules/fe-godview
npm ERR!       workspace packages/fe/godview from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 

The issue is that aws-appsync-react only allows installing for React <= 16 peer react@"0.14.x || 15.* || ^15.0.0 || ^16.0.0" from aws-appsync-react

I can't even find where aws-appsync-react lives on GitHub but the npm description points here.

ChristopherPeterson commented 2 years ago

any update on this?

bfaulk96 commented 1 year ago

Is this library still maintained?