Getting this error on Arch Linux with node-sass. I\'m using it with gulp-sass.
Node Sass does not yet support your current environment: Linux 64-bit with fal
run npm rebuild node-sass
or
run sudo npm rebuild node-sass
I don't know if this applies here, but for me, I just removed node_modules and reinstalled (npm install). Issue was fixed.
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 compatibility table of node with node-sass:-
If issue is still not fixed, check node-sass supported environment's list:- https://github.com/sass/node-sass/releases/
I managed to solve this issue using the command below.
npm audit fix - Worked for me
npm audit fix
I tried - Didn't work for me
sudo npm rebuild node-sass
Then I tried - Didn't work for me
npm uninstall --save-dev node-sass
and
npm install --save-dev node-sass
npm i @ionic/app-scripts
Was the only thing that had any impact for me.
npm install or npm rebuild node-sass
fixes the problems
please refer: https://github.com/sass/node-sass/issues/1764