Node.js 22

Node Sass does not yet support your current environment

Node Sass does not yet support your current environment

What it means

node-sass (LibSass) is deprecated and has no prebuilt binary for current Node versions.

Why it happens

node-sass wraps LibSass, which is end-of-life. It ships no Node 22 prebuild, so installs fail to find a compatible binary on new runtimes.

How to fix it

  1. Replace node-sass with Dart Sass: `npm uninstall node-sass && npm install -D sass`.
  2. The `sass` package is pure JS (no native build) and is a near drop-in for most build pipelines.
  3. Update any tooling config that names `node-sass` explicitly (e.g. webpack sass-loader `implementation: require('sass')`).

Related deadline: Lambda Node.js 20 Phase 12027-02-01.

Find every instance in your project

The free EOLkits scanner runs in your browser (nothing uploaded) and flags this and related breakages across your IaC and dependency files.

Primary source: https://sass-lang.com/blog/libsass-is-deprecated/

Get the full migration audit — $299, hash-anchored PDF →