From ec8b532a2f24a918a4aeb6fe54f640f5602f5ee4 Mon Sep 17 00:00:00 2001 From: Joris Slagter Date: Tue, 2 Dec 2025 20:09:38 +0100 Subject: [PATCH] Fix: Use Node.js 14 for node-sass compatibility Node.js 16 has C++ compilation issues with node-sass due to missing std::remove_cv_t support. Node.js 14 LTS has proven compatibility with node-sass and avoids these compilation errors. Error resolved: - v8-internal.h:492:38: error: 'remove_cv_t' is not a member of 'std' - make: *** [binding.target.mk:133] Error 1 --- .drone.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index ff65400..62640e9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -5,7 +5,7 @@ name: default steps: # Step 1: Install dependencies and run linting - name: test - image: node:16 + image: node:14 commands: - npm ci - npm run lint || echo "⚠ Linting skipped (no lint script found)" @@ -15,7 +15,7 @@ steps: # Step 2: Build for production (to verify it compiles) - name: build - image: node:16 + image: node:14 commands: - npm ci - npm run build