From f2a822fbe9be6554d664768711b9fd6845419f01 Mon Sep 17 00:00:00 2001 From: Robo Date: Wed, 1 Mar 2023 01:22:33 +0900 Subject: [PATCH] chore: update min node version for development (#175663) --- build/npm/preinstall.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/npm/preinstall.js b/build/npm/preinstall.js index afefc404267a7..79f2b629c5db9 100644 --- a/build/npm/preinstall.js +++ b/build/npm/preinstall.js @@ -9,8 +9,8 @@ const majorNodeVersion = parseInt(nodeVersion[1]); const minorNodeVersion = parseInt(nodeVersion[2]); const patchNodeVersion = parseInt(nodeVersion[3]); -if (majorNodeVersion < 16 || (majorNodeVersion === 16 && minorNodeVersion < 14)) { - console.error('\033[1;31m*** Please use node.js versions >=16.14.x and <17.\033[0;0m'); +if (majorNodeVersion < 16 || (majorNodeVersion === 16 && minorNodeVersion < 17)) { + console.error('\033[1;31m*** Please use node.js versions >=16.17.x and <17.\033[0;0m'); err = true; } if (majorNodeVersion >= 17) {