node-sass is end-of-life — officially deprecated

Stop using
node-sass.
One command fixes it.

node-sass has been deprecated since 2022 and is end-of-life. It breaks on every new Node.js version. Migrate to Dart Sass automatically — package.json, SCSS syntax, and build configs all updated in seconds.

Terminal — run this in your project root
$ npx node-sass-migrate .
✔ package.json — replaced node-sass → sass
✔ fixed: src/styles/main.scss
✔ updated: webpack.config.js
⚠ src/styles/legacy.scss: @import deprecated — consider @use
→ Run: npm install
→ Full guide: nodesassmigrate.netlify.app
→ View on npm GitHub
The problem

Millions still using
a dead package.

3M+
weekly downloads
2022
officially deprecated
0
active maintainers
frustrated devs
Why you can't just swap it

node-sass → sass
isn't a simple swap.

Dart Sass has stricter rules. These break silently.

Breaking

Node.js version errors

"Node Sass does not yet support your current environment" — fires on every Node.js major version upgrade.

Breaking

/deep/ selector

Vue's /deep/ selector silently worked in node-sass. Dart Sass throws a parse error. Must be replaced with ::v-deep.

Deprecated

@import rule

@import is deprecated in Dart Sass. Will be removed in Dart Sass 2.0. Should migrate to @use and @forward.

Deprecated

Division operator /

$var / 2 throws deprecation warnings. Must use math.div() from the sass:math module instead.

Auto-fixed

package.json

node-sass-migrate automatically replaces node-sass with sass in all dependency sections.

Auto-fixed

Build configs

webpack.config.js, vite.config.js, and gulpfile.js references to node-sass are updated automatically.

Migration

Three ways to migrate.

01

One-command migration (recommended)

Run npx node-sass-migrate . — updates your package.json, build configs, and fixes breaking SCSS syntax automatically.

02

Manual swap (2 mins)

Replace node-sass with sass in package.json. Run npm install. Fix any build errors manually.

03

Pro migration service

Full codebase migration including @import → @use/forward conversion, division operator fixes, and CI/CD pipeline updates. Contact for pricing.

Pricing

Free forever.
Pro for teams.

Open Source
$0
forever
  • npx migration CLI
  • package.json auto-update
  • Build config fixes
  • /deep/ syntax fixes
  • Community support
Get started free
Pro
$49
/ month per org
  • Everything in Free
  • @import → @use/@forward conversion
  • math.div() migration
  • GitHub Action for CI/CD
  • Priority support
  • SLA-backed patch response
Contact for Pro