Error: Node Sass version 7.0.1 is incompatible with ^4.0.0

Viewed 156

I've tried various commands to solve this error, But it always shows the same error. I've uninstalled node sass and installed again many times but it won't works.. Its always shows the same error.. Even I've uninstalled node modules, package.lock.json and installed again, but shows the same error again..

Error: Node Sass version 7.0.1 is incompatible with ^4.0.0

1 Answers

Don't use node-sass

This is because node-sass has been depricated. So you will have to use the new version, which is sass

You can do this with

npm uninstall node-sass
npm install sass
Related