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:

c# httpclient The remote certificate is invalid according to the validation procedure: RemoteCertificateNameMismatch

 If we get this error while trying to get http reponse using HttpClient object, it could mean that certificate validation fails for the remo...