Hello Guys, How are you all? Hope You all Are Fine. Today I am trying to use sass in my react app but I am facing following error Node Sass version 7.0.0 is incompatible with ^4.0.0 || ^5.0.0 || ^6.0.0 in Reactjs. So Here I am Explain to you all the possible solutions here.
Without wasting your time, Let’s start This Article to Solve This Error.
How Node Sass version 7.0.0 is incompatible with ^4.0.0 || ^5.0.0 || ^6.0.0 Error Occurs ?
I am trying to use sass in my react app but I am facing following error.
Node Sass version 7.0.0 is incompatible with ^4.0.0 || ^5.0.0 || ^6.0.0
How To Solve Node Sass version 7.0.0 is incompatible with ^4.0.0 || ^5.0.0 || ^6.0.0 Error ?
How To Solve Node Sass version 7.0.0 is incompatible with ^4.0.0 || ^5.0.0 || ^6.0.0 Error ?
To Solve Node Sass version 7.0.0 is incompatible with ^4.0.0 || ^5.0.0 || ^6.0.0 Error Here You Just need To reinstall sass Instead of node-sass and your error will be fixed. First of all you need to uninstall node-sass Just run this command to uninstall node-sass. npm uninstall node-sass Once uninstalled successfully then You just need to install sass instead of node-sass. Just run this command: npm i -D sass Now, Your error must be solved.
Node Sass version 7.0.0 is incompatible with ^4.0.0 || ^5.0.0 || ^6.0.0
To Solve Node Sass version 7.0.0 is incompatible with ^4.0.0 || ^5.0.0 || ^6.0.0 Error Here You Just need To reinstall sass Instead of node-sass and your error will be fixed. First of all you need to uninstall node-sass Just run this command to uninstall node-sass. npm uninstall node-sass Once uninstalled successfully then You just need to install sass instead of node-sass. Just run this command: npm i -D sass Now, Your error must be solved.
Solution 1: Use sass
Here You Just need To reinstall sass Instead of node-sass and your error will be fixed. First of all you need to uninstall node-sass Just run this command to uninstall node-sass.
npm uninstall node-sass
Once uninstalled successfully then You just need to install sass instead of node-sass. Just run this command.
npm i -D sass
If you are using Yarn then Just run this Command to uninstall node-sass.
yarn remove node-sass
Then, You need to install sass instead of node-sass. Run this command.
yarn add -D sass
Now, Your error must be solved.
Summary
It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you?
Also, Read
Successfully solved the problem that bothered me all afternoon. Thank you very much
It’s my Pleasure to Help You, marisen. Thank You For Your Valuable words.
Thank you sir, It works for me.
It’s my Pleasure to Help You Jay Palan. Thank You For Your Valuable words.
It’s working for me, Thank you so much for your lovely support.
It’s my Pleasure to Help You Krishan Gopal. Thank You So Much For Your Valuable words.