Node Sass does not yet support your current environment: Linux 64-bit with false

痞子三分冷 提交于 2019-11-27 18:38:46

run npm rebuild node-sass

or

run sudo npm rebuild node-sass

Jorge Torres

in some cases you need to uninstall and install node-sass library. Try:

npm uninstall --save-dev node-sass

and

npm install --save-dev node-sass

You should also check your version of nodejs. I was on a version 9 of node js which isn't officially supported at this time of writing. Reverting back to version 6.11.4 fixed the issue for me.

I don't know if this applies here, but for me, I just removed node_modules and reinstalled (npm install). Issue was fixed.

npm install or npm rebuild node-sass

fixes the problems

please refer: https://github.com/sass/node-sass/issues/1764

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

That worked for me:

sudo npm cache clean -f
sudo npm install -g n
sudo n 6.0.0

I had the same issue for windows x64 Platform.

Just updated the package.json with newer version of node-saas instead rebuild because in order to rebuild you need visual studio build environment which is suck to install for a dependency :)…

go with latest node-saas you should be fine:

"node-sass": "^4.11.0",

Remove node_modules/node-sass folder & run npm install (this may take some time based on the dependencies) then run npm run build

This should resolve the issue

npm uninstall node-sass

npm i node-sass@4.7.2

https://dev.to/letsbsocial1/node-sass-and-node-910-4ol

Remove node modules: $rm-rf node_modules

Re install node modules: $npm install

If uninstall & install node-sass did not work try to remove node_modules folder and npm install

I managed to solve this issue using the below command.

npm audit fix - Worked for me

npm audit fix

I tried - Didn't worked for me

sudo npm rebuild node-sass

Then I tried - Didn't worked for me

npm uninstall --save-dev node-sass

and

npm install --save-dev node-sass
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!