First solution
Try doing so, it worked from. You need to remove it fromMake sure your packagenode.jsonjs with oneversion is not superior to the blocks belowrecommended one.
If you are using npmnot, downgrade it, and for that, you could use node-sass is in yourn package from dependenciesnpm :
npm uninstall node-sass --save npm install node-sass --save npm install -g n n stable # If one of the commands does not pass, you may need to use sudo sudo npm install -g n sudo n stable IfThen you are using npm and that node-sass is in yourwould wanna use devDependenciessass package instead of node-sass, as it's deprecated. And for that, run those commands:
npm uninstall node-sass --save-dev npm install node-sass --save-dev npm uninstall node-sass --save npm install sass --save Second solution
If you are using yarn and thatneed or want node-sass is infor some reason, you should downgrade your dependenciesnodejs :
yarn remove node-sass --save yarn add node-sass --save If you are usingversion to like yarn v14and. For that you can use node-sass is in yourn package from devDependenciesnpm :
yarn remove node-sass --save-dev yarn add node-sass --save-dev npm install -g n n 14 # If one of the commands does not pass, you may need to use sudo sudo npm install -g n sudo n 14