'Sass and node-sass not working with react app

I am trying to use Sass in my react app.

I am aware node-sass is now deprecated and only version 4 and below of node-sass work with node. However, even when I install [email protected] npm doesn't allow me to install saying there is an error [email protected]

So i install normal sass and normal sass asks me to install node-sass ...

So i go around in circles like a headless chicken. Neither node-sass or normal sass working for me.



Solution 1:[1]

Yes normal sass is dart sass. I installed but had issues on a project. I updated tar to version 6 and it still wouldn't work. Then I did it on a new project and it worked.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 mycodegoesKABOOM