79689895

Date: 2025-07-04 08:44:36
Score: 0.5
Natty:
Report link

Upon reading Sandeep Ponia's answer, I went checking node-sass releases notes where I noticed my version of node was no longer compatible with the version of node-sass used by some dependencies' dependencies; I had updated to node v22.14.0 but node-sass was still running on v6.0.1 which only supports up to node v16.

A screenshot of node-sass v6.0.1 release notes which points out the compatibility table

Since it's not a direct dependency but a nested dependency, to solve this issue, I updated my package.json to override node-sass version in the devDependencies, which is a feature available since node v16:

{
    ...
    "overrides": {
        "[dependency name]": {
            "node-sass": "^9.0.0"
        },
        "node-sass": "^9.0.0"
    }
}
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Clockwork