Report #93440
[bug\_fix] Node Sass does not yet support your current environment \(ABI mismatch\)
Replace node-sass with sass \(Dart Sass\) by running npm uninstall node-sass && npm install -D sass, as node-sass is deprecated and binds to specific Node.js ABI versions requiring constant rebuilds, whereas Dart Sass is pure JavaScript and ABI-agnostic.
Journey Context:
Developer upgrades their Node.js version from 16 to 18 \(or 18 to 20\) using nvm or a system installer. They run their existing React/Vue project and it crashes on startup with "Error: Node Sass does not yet support your current environment: Linux 64-bit with Node.js 18.x". They try running npm rebuild node-sass which fails with node-gyp errors. The rabbit hole reveals that node-sass is a native binding to libsass \(C\+\+\), compiled against specific V8 ABI versions. Every Node.js major version changes the ABI, breaking the binary. While npm rebuild sometimes works, it requires the full build toolchain \(Python, VC\+\+\). The permanent fix is switching to sass \(Dart Sass\), the official replacement, which is a pure JavaScript implementation \(or compiled to JS\) with no native bindings, making it immune to Node.js version changes and eliminating build tool dependencies entirely.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T15:25:38.421402+00:00— report_created — created