guardian / frontend

The Guardian DotCom.
https://theguardian.com
Other
5.84k stars 554 forks source link

Direct dependency `node-sass` is incompatible with recent versions of Python #27227

Open domlander opened 3 months ago

domlander commented 3 months ago

A direct dependency node-sass was recently updated to its latest version, which is incompatible with Python from version 3.12.x. This means that developers will encounter errors when running yarn and installing node-sass if their machine is also running the latest version of Python.

We should replace the deprecated node-sass project, with a project that is actively maintained, such as Dart Sass

domlander commented 3 months ago

A similar task was completed in the mobile apps article templates project

https://github.com/guardian/mobile-apps-article-templates/pull/1372/files