When using certain versions of Node.js, node-sass may cause errors. This problem is due to version compatibility between Node.js and node-sass.
One solution to this problem is to rebuild node-sass using the npm rebuild node-sass command
. This will update node-sass to match the current Node.js version.
Alternatively, you can also consider downgrading the Node version. This is especially helpful for projects that require a specific version of node-sass.