diff --git a/modules/org.openbravo.client.kernel/build-scripts/pre-install b/modules/org.openbravo.client.kernel/build-scripts/pre-install
index 935a099037..7e21d25981 100755
--- a/modules/org.openbravo.client.kernel/build-scripts/pre-install
+++ b/modules/org.openbravo.client.kernel/build-scripts/pre-install
@@ -19,15 +19,15 @@
 NODE_VERSION=$(node -v)
 NPM_VERSION=$(npm -v)
 
-if [[ ! "$NODE_VERSION" =~ ^v14[.].*$ ]]; then
-  echo "Node version $NODE_VERSION not supported. Only node 14.x is supported"
+if [[ ! "$NODE_VERSION" =~ ^v16[.].*$ ]]; then
+  echo "Node version $NODE_VERSION not supported. Only node 16.x is supported"
   exit 1
 fi
 
-if [[ ! "$NPM_VERSION" =~ ^6[.].*$ ]]; then
-  echo "npm version $NPM_VERSION not supported. Only npm 6.x is supported"
+if [[ ! "$NPM_VERSION" =~ ^7[.].*$ ]]; then
+  echo "npm version $NPM_VERSION not supported. Only npm 7.x is supported"
   exit 1
 fi
 
 rm -rf node_modules
-rm -rf node_modules_global
\ No newline at end of file
+rm -rf node_modules_global
