mirror of
https://github.com/strapi/strapi.git
synced 2025-11-08 14:19:40 +00:00
minimum node 16 in version checker
This commit is contained in:
parent
c9f6a66dfb
commit
28891072c4
@ -14,7 +14,7 @@ export default function checkRequirements() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// warn if not using a LTS version
|
// 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(yellow(`You are running ${bold(`Node.js ${currentNodeVersion}`)}`));
|
||||||
console.warn(
|
console.warn(
|
||||||
`Strapi only supports ${bold(
|
`Strapi only supports ${bold(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user