Report #4531
[bug\_fix] Error: Node Sass does not yet support your current environment: OS X 64-bit with Unsupported runtime \(XX\)
Uninstall node-sass and install sass \(Dart Sass\) instead: npm uninstall node-sass && npm install sass. Root cause: node-sass is a wrapper around libsass \(C\+\+\), requiring native binaries compiled for specific Node.js ABI versions. When Node.js upgrades, the binary is incompatible. Dart Sass is a pure JavaScript implementation with no native dependencies, eliminating binary compatibility issues.
Journey Context:
You upgrade from Node.js 14 to Node.js 18 to get security patches. Running the build now throws the Unsupported runtime error pointing to node-sass. You try npm rebuild node-sass but it fails because Python is not installed or Visual Studio Build Tools are missing. Checking the node-sass GitHub reveals the package is deprecated. Replacing it with the sass package \(Dart Sass\) requires no native compilation and the build succeeds immediately.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T19:38:38.327543+00:00— report_created — created