install fails if node version >20.x.x even if it claims it supports up to 22.x.x (current lts) #24
Labels
issue: bug
Issue reporting a bug
severity: medium
status: confirmed
Confirmed by a Strapi Team member or multiple community members
Bug report
Required System information
Describe the bug
installing using yarn as described in the homepage throws an error on the latest node 24 that strapi supports versions 18-22.
switching to 22 allows to get to the install wizard up to a certain point when it throws this error:
error @strapi/[email protected]: The engine "node" is incompatible with this module. Expected version ">=18.0.0 <=20.x.x". Got "22.12.0"
then you need to downgrade to node 20, then it works,
suboptimal experience, is there a valid reason why @strapi/[email protected] wants node version 20 instead of 22 or could this requirement be removed? or made clearer at the first check?
Steps to reproduce the behavior
Expected behavior
either require node 22 or 20, make up your mind
Screenshots
na
Code snippets
na
Additional context
na
The text was updated successfully, but these errors were encountered: