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
Error I was getting, Module "build failed: Error: Node Sass does not yet support your current environment: OS X 64-bit with Unsupported runtime (72)".
First, tried:
npm rebuild node-sass
nothing helpful, then tried
sudo npm install --unsafe-perm -g node-sass
Worked like a charm
If uninstall & install node-sass
did not work try to remove node_modules
folder and npm install
Probably a node version issue.
Check your node version with
node -v
you can install node version manager to make life easier. See
https://github.com/nvm-sh/nvm#install--update-script
Install:
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash
Usage:
nvm install <version> Download and install a <version>
nvm use <version> Modify PATH to use <version> nvm ls
List versions (installed versions are blue)
As of July 2019 with Node v12 -
node-sass v4.11.0 doesn't work with Node 12.
I faced this problem when I upgraded node to v12.
Rebuilding node-sass as suggested by the other answers didn't work as well.
Upgrading node-sass to v4.12.0 fixed it for me.
npm install node-sass@4.12.0
Go the path where node-sass is present and run this command
npm rebuild node-sass --force
This solved my issue
Remove node modules: $rm-rf node_modules
Re install node modules: $npm install