Uninstall and reinstall node-sass
and it will find missing binary for itself.
npm uninstall --save-dev node-sass
npm install --save-dev node-sass
If issue is not resolved using above commands, there may be problem with your node version. Check that your node version supports node-sass version. Chose a stable node version and repeat above commands to fix this issue.
Below is the compatibility table of the node with node-sass:-
NodeJS | Supported node-sass version | Node Module
Node 19 8.0+ 111
Node 18 8.0+ 108
Node 17 7.0+ 102
Node 16 6.0+ 93
Node 15 5.0+ 88
Node 14 4.14+ 83
Node 13 4.13+, <5.0 79
Node 12 4.12+ 72
Node 11 4.10+, <5.0 67
Node 10 4.9+, <6.0 64
Node 8 4.5.3+, <5.0 57
Node <8 <5.0 <57
If issue is still not fixed, check node-sass supported environment's list:-
https://github.com/sass/node-sass/releases/
gulp-sass
updates the dependency tonode-sass
github.com/sass/node-sass/issues/1484 – Variscitenode-sass
manually withnpm install node-sass
(or by forking thegulp-sass
and bumping up the version in the package.json) – Variscitenpm rebuild node-sass
– Prytaneumnpm install node-sass
first. – Variscitenode-sass
is deprecated usesass
. – Dossier