Report #81817
[bug\_fix] node-sass binding.node not found
Uninstall node-sass \(npm uninstall node-sass\) and install dart-sass \(npm install sass --save-dev\) which is the pure-JavaScript implementation with identical API, or ensure Node version matches node-sass version per support matrix and run npm rebuild node-sass.
Journey Context:
Developer clones legacy project using node-sass. Runs npm install. On npm start, sees 'Error: Node Sass does not yet support your current environment' or 'Cannot find module node-sass/vendor/binding.node'. Realizes node-sass is deprecated native binding. Developer upgraded Node from 14 to 18, but project has node-sass v4 which only supports Node 14. Options: 1\) Downgrade Node \(bad\), 2\) Upgrade node-sass to v7 for Node 18 \(temporary\), 3\) Better: migrate to 'sass' package \(Dart Sass\) which is pure JS, no native deps, and drop-in replacement. Developer switches dependency, deletes node\_modules, reinstalls, build works.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T19:55:19.443470+00:00— report_created — created