Tuesday, January 21, 2020

`sass-loader` requires `node-sass` >=4


I was getting an error

Module build failed: Error: `sass-loader` requires `node-sass` >=4. Please install a compatible version.


The solution which works is:

  • Remove the node-sass from global npm-cache (For Windows users %userprofile%\AppData\Roaming\npm-cache)
  • Remove node-sass from your project's node_modules dir
  • Do npm install to reinstall node-sass

No comments:

SSL Error - The connection for this site is not secure

 After cloning a git repo of dot net framework website and trying to run it all I could see was this error Turns out the fix was to simply e...