Skip to content

Node 20 (LTS) support #8987

@Josef-Reichardt

Description

@Josef-Reichardt

Project setup fails on node 20 (current LTS - with yarn and npm) because of a dependency which is not compatible to node 20:

@keystone-6/core > @prisma/migrate > mssql > tedious > @azure/identity > @azure/msal-node@1.18.4

error @azure/msal-node@1.18.4: The engine "node" is incompatible with this module. Expected version "10 || 12 || 14 || 16 || 18". Got "20.4.0"

I've created the app via yarn create keystone-app and the setup proceeds with npm automatically because it fails with yarn:

grafik

But after that, when I remove package-lock.json and node_module because I want to work with yarn instead of npm and run yarn install it reports the following error:

grafik

npm install only displays a warning for that:

grafik

Tested on node v20.4.0 and v20.11.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    dependenciesRelated to our dependencies

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions