Fix: Use Node.js 14 for node-sass compatibility
Some checks failed
continuous-integration/drone/push Build is failing

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
This commit is contained in:
Joris Slagter
2025-12-02 20:09:38 +01:00
parent d927f94c4e
commit ec8b532a2f

View File

@@ -5,7 +5,7 @@ name: default
steps: steps:
# Step 1: Install dependencies and run linting # Step 1: Install dependencies and run linting
- name: test - name: test
image: node:16 image: node:14
commands: commands:
- npm ci - npm ci
- npm run lint || echo "⚠ Linting skipped (no lint script found)" - npm run lint || echo "⚠ Linting skipped (no lint script found)"
@@ -15,7 +15,7 @@ steps:
# Step 2: Build for production (to verify it compiles) # Step 2: Build for production (to verify it compiles)
- name: build - name: build
image: node:16 image: node:14
commands: commands:
- npm ci - npm ci
- npm run build - npm run build