![]() that will solve your error.,run commands are npm uninstall node-sass,Question : How to solve Error: Node sass version 5.0.0 incompatible with ^4.0.0 ?,The only reason why you get some error like that, it’s because your node version is not compatible with your node-sass version. Just uninstall node-sass and reinstall with below command line. Node Sass version 6.0.0 is incompatible with ^4.0.0 || ^5.0.0.Īnswer : This Error Occurs Cause of version incompatible with sass version. npm install įailed to compile.,Already deleted node_modules and lock file and installed everything again.,delete node modules and package-lock.json and then npm install : didn't is right, but I also had to erase the node_modules folder and the lock file to work. Example on how to write it on the disk npm install node-sassĮrror: Node Sass version 5.0.0 is incompatible with ^4.0.0,yarn remove node-sass,npm install node-sass,yarn add -dev node-sassįor an example, if you're using Node.js version 12 on your Windows system ("maybe"), then you should have to install the node-sass version 4.12.
0 Comments
Leave a Reply. |