Closed noyfactor closed 2 years ago
workaround: use npm install aws-appsync --legacy-peer-deps
which was the default behaviour in NPM v6
Downgrade to npm v6. It should fix the issue.
Will a fix be released for this?
workaround: use
npm install aws-appsync --legacy-peer-deps
which was the default behaviour in NPM v6
Apologizes folks on this ! Please you this workaround as we work on this issue.
This is fixed in aws-appsync@4.1.2
. Closing the issue
@CodySwannGT can you try deleting your node_modules and lock file, then re-installing?
@iartemiev aws-appsync 4.1.4, same-ish error (fresh directory): (npm 7.15.1)
npm i aws-appsync
npm WARN ERESOLVE overriding peer dependency
npm WARN Found: graphql@undefined
npm WARN node_modules/graphql
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer graphql@"0.13.0 | 14.x | 15.x" from aws-appsync@4.1.4
npm WARN node_modules/aws-appsync
npm WARN aws-appsync@"^4.1.4" from the root project
npm WARN ERESOLVE overriding peer dependency
npm WARN Found: graphql@undefined
npm WARN node_modules/graphql
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer graphql@"0.11.7 || ^0.12.0 || ^0.13.0 || ^14.0.0" from apollo-cache-inmemory@1.3.12
npm WARN node_modules/aws-appsync/node_modules/apollo-cache-inmemory
npm WARN apollo-cache-inmemory@"1.3.12" from aws-appsync@4.1.4
npm WARN node_modules/aws-appsync
npm WARN ERESOLVE overriding peer dependency
npm WARN Found: graphql@undefined
npm WARN node_modules/graphql
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer graphql@"^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0" from apollo-client@2.4.6
npm WARN node_modules/aws-appsync/node_modules/apollo-client
npm WARN apollo-client@"2.4.6" from aws-appsync@4.1.4
npm WARN node_modules/aws-appsync
npm WARN ERESOLVE overriding peer dependency
npm WARN Found: graphql@undefined
npm WARN node_modules/graphql
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer graphql@"^0.11.3 || ^0.12.3 || ^0.13.0 || ^14.0.0" from apollo-link@1.2.5
npm WARN node_modules/aws-appsync/node_modules/apollo-link
npm WARN apollo-link@"1.2.5" from aws-appsync@4.1.4
npm WARN node_modules/aws-appsync
npm WARN 1 more (apollo-client)
npm WARN ERESOLVE overriding peer dependency
npm WARN Found: graphql@undefined
npm WARN node_modules/graphql
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer graphql@"^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0" from apollo-link-http@1.5.8
npm WARN node_modules/aws-appsync/node_modules/apollo-link-http
npm WARN apollo-link-http@"1.5.8" from aws-appsync@4.1.4
npm WARN node_modules/aws-appsync
npm WARN ERESOLVE overriding peer dependency
npm WARN Found: redux@3.7.2
npm WARN node_modules/redux
npm WARN redux@"^3.7.2" from aws-appsync@4.1.4
npm WARN node_modules/aws-appsync
npm WARN aws-appsync@"^4.1.4" from the root project
npm WARN 1 more (@redux-offline/redux-offline)
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer redux@"^4" from redux-thunk@2.4.1
npm WARN node_modules/redux-thunk
npm WARN redux-thunk@"^2.2.0" from aws-appsync@4.1.4
npm WARN node_modules/aws-appsync
Do you want to request a feature or report a bug? Bug
What is the current behavior? Using NPM v7,
npm install aws-appsync
fails due to conflict in peer-dependency requirements:If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
What is the expected behavior? Install succeeds
Which versions and which environment (browser, react-native, nodejs) / OS are affected by this issue? Did this work in previous versions? NPM v7 and React 17.0.1