sass / dart-sass

The reference implementation of Sass, written in Dart.
https://sass-lang.com/dart-sass
MIT License
3.9k stars 351 forks source link

I would like to know which version of dart-sass supports node v10.18.0? #2224

Closed qinfeng0214 closed 4 months ago

qinfeng0214 commented 4 months ago

Hi,my project is node v10.18.0, I used node-sass, and now I want to use dart-sass, and I installed "sass": "^1.75.0", and it prompts "ReferenceError: globalThis is not defined". If dart-sass doesn't support node v10.18.0, then I can just continue using node-sass. tks!

nex3 commented 4 months ago

Node.js 10.x is extremely outdated. It reached end-of-life on April 30th, 2021 and hasn't received new updates since then, including critical security updates. You absolutely should not be using it anymore.

Per our compatibility policy, Dart Sass only supports current and LTS versions of Node.js. You can check the versions page to find the last version released while Node.js 10.x was in LTS and thus the last version guaranteed to support it: Dart Sass 1.32.12, released 28 April 2021.