minimum node 16 in version checker

This commit is contained in:
Ben Irvin 2023-05-09 18:44:22 +02:00
parent c9f6a66dfb
commit 28891072c4

View File

@ -14,7 +14,7 @@ export default function checkRequirements() {
}
// warn if not using a LTS version
else if (semver.satisfies(currentNodeVersion, '14.x.x || 15.x.x || 17.x.x || 19.x.x')) {
else if (semver.satisfies(currentNodeVersion, '17.x.x || 19.x.x')) {
console.warn(yellow(`You are running ${bold(`Node.js ${currentNodeVersion}`)}`));
console.warn(
`Strapi only supports ${bold(