-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dependency resolution errors installing into new NuxtJS app #379
Comments
I blame https://github.com/Akryum/vue-cli-plugin-apollo for using incompatible and deprecated libraries (also
|
Tried again just now and |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
v4.0.1-rc.1
Reproduction link
https://discord.com/channels/473401852243869706/507590246070878210/805808885390245908
Steps to reproduce
npx create-nuxt-app nuxt-graphql
cd nuxt-graphql
npm install @nuxtjs/apollo
What is expected ?
Installation of @nuxtjs/apollo into NuxtJS app
What is actually happening?
Dependency resolution errors. I can provide the complete NPM debug log if you want it. This error is also reported by other users today on the #apollo channel of the Nuxt.js Discord server.
Additional comments?
[594][davem: nuxt-graphql]$ npm install --save @nuxtjs/apollo
npm WARN ERESOLVE overriding peer dependency
npm WARN Found: [email protected]
npm WARN node_modules/graphql
npm WARN peer graphql@"^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0" from [email protected]
npm WARN node_modules/apollo-cache-inmemory
npm WARN peer apollo-cache-inmemory@"^1.6.6" from @nuxtjs/[email protected]
npm WARN node_modules/@nuxtjs/apollo
npm WARN 1 more (vue-cli-plugin-apollo)
npm WARN 8 more (apollo-client, apollo-link, graphql-tag, ...)
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 [email protected]
npm WARN node_modules/apollo-link-persisted-queries
npm WARN apollo-link-persisted-queries@"^0.2.2" from [email protected]
npm WARN node_modules/vue-cli-plugin-apollo
npm WARN ERESOLVE overriding peer dependency
npm WARN Found: [email protected]
npm WARN node_modules/graphql
npm WARN peer graphql@"^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0" from [email protected]
npm WARN node_modules/apollo-cache-inmemory
npm WARN peer apollo-cache-inmemory@"^1.6.6" from @nuxtjs/[email protected]
npm WARN node_modules/@nuxtjs/apollo
npm WARN 1 more (vue-cli-plugin-apollo)
npm WARN 8 more (apollo-client, apollo-link, graphql-tag, ...)
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer graphql@"^0.10.5 || ^0.11.3 || ^0.12.0 || ^0.13.0 || ^14.0.0" from [email protected]
npm WARN node_modules/graphql-subscriptions
npm WARN graphql-subscriptions@"^1.1.0" from [email protected]
npm WARN node_modules/vue-cli-plugin-apollo
npm WARN 1 more (apollo-server-express)
npm WARN ERESOLVE overriding peer dependency
npm WARN Found: [email protected]
npm WARN node_modules/graphql
npm WARN peer graphql@"^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0" from [email protected]
npm WARN node_modules/apollo-cache-inmemory
npm WARN peer apollo-cache-inmemory@"^1.6.6" from @nuxtjs/[email protected]
npm WARN node_modules/@nuxtjs/apollo
npm WARN 1 more (vue-cli-plugin-apollo)
npm WARN 8 more (apollo-client, apollo-link, graphql-tag, ...)
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer graphql@"^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0" from @apollographql/[email protected]
npm WARN node_modules/@apollographql/graphql-language-service-interface
npm WARN @apollographql/graphql-language-service-interface@"^2.0.2" from [email protected]
npm WARN node_modules/apollo-language-server
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! Found: [email protected]
npm ERR! node_modules/graphql
npm ERR! peer graphql@"^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0" from [email protected]
npm ERR! node_modules/apollo-cache-inmemory
npm ERR! peer apollo-cache-inmemory@"^1.6.6" from @nuxtjs/[email protected]
npm ERR! node_modules/@nuxtjs/apollo
npm ERR! @nuxtjs/apollo@"" from the root project
npm ERR! apollo-cache-inmemory@"^1.6.6" from [email protected]
npm ERR! node_modules/vue-cli-plugin-apollo
npm ERR! vue-cli-plugin-apollo@"^0.22.2" from @nuxtjs/[email protected]
npm ERR! node_modules/@nuxtjs/apollo
npm ERR! @nuxtjs/apollo@"" from the root project
npm ERR! peer graphql@"^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0" from [email protected]
npm ERR! node_modules/apollo-client
npm ERR! peer apollo-client@"^2.0.0" from [email protected]
npm ERR! node_modules/vue-apollo
npm ERR! vue-apollo@"^3.0.5" from @nuxtjs/[email protected]
npm ERR! node_modules/@nuxtjs/apollo
npm ERR! @nuxtjs/apollo@"" from the root project
npm ERR! apollo-client@"^2.6.10" from [email protected]
npm ERR! node_modules/vue-cli-plugin-apollo
npm ERR! vue-cli-plugin-apollo@"^0.22.2" from @nuxtjs/[email protected]
npm ERR! node_modules/@nuxtjs/apollo
npm ERR! @nuxtjs/apollo@"" from the root project
npm ERR! 7 more (apollo-link, graphql-tag, vue-cli-plugin-apollo, ...)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer graphql@"^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0" from @apollographql/[email protected]
npm ERR! node_modules/@apollographql/graphql-language-service-interface/node_modules/@apollographql/graphql-language-service-parser
npm ERR! @apollographql/graphql-language-service-parser@"^2.0.0" from @apollographql/[email protected]
npm ERR! node_modules/@apollographql/graphql-language-service-interface
npm ERR! @apollographql/graphql-language-service-interface@"^2.0.2" from [email protected]
npm ERR! node_modules/apollo-language-server
npm ERR! apollo-language-server@"^1.25.0" from [email protected]
npm ERR! node_modules/apollo
npm ERR! 1 more (apollo-codegen-core)
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!
npm ERR! See /Users/davem/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/davem/.npm/_logs/2021-02-01T14_45_22_425Z-debug.log
The text was updated successfully, but these errors were encountered: