Skip to content

node-version is incompatible with graphql-ws #898

Description

@rambip

I just did a fresh install of decidim-app. I used nvm (node version manager) to use the exact version of node indicated in

But I get a version error:

[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
error graphql-ws@6.0.6: The engine "node" is incompatible with this module. Expected version ">=20". Got "18.17.1"
error Found incompatible module.

And indeed, when I use version 20.19.5, I am able to download all the modules

Steps to reproduce:

  • install nvm
  • nvm install 18.17.1 && nvm use 18.17.1
  • npm install -g yarn
  • yarn install

You should now see the error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions