Skip to content

yarn add -D @nuxtjs/apollo error on Nuxt 3 #640

@GaLzZy

Description

@GaLzZy

Environment


  • Operating System: Linux
  • Node Version: v18.20.2
  • Nuxt Version: 3.14.1592
  • CLI Version: 3.16.0
  • Nitro Version: 2.10.4
  • Package Manager: yarn@1.22.22
  • Builder: -
  • User Config: default
  • Runtime Modules: @vee-validate/nuxt@4.14.7, @nuxtjs/tailwindcss@6.12.2
  • Build Modules: -

Describe the bug

Trying to install @nuxtjs/apollo on my brand new Nuxt 3 app since we're migrating from Nuxt 2 and i'm getting this error:

error @apollo/federation@0.27.0: The engine "node" is incompatible with this module. Expected version ">=12.13.0 <17.0". Got "18.20.2"

Since Nuxt 3 requires Node 18+ I don't get why one package in @nuxtjs/apollo is requiring 17-...

Expected behaviour

I should be able to install @nuxtjs/apollo on Nuxt 3

Reproduction

No response

Additional context

No response

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions