I\'m trying to do npm install
and an error appears :
Failed at the node-sass@4.5.0 postinstall script.
I tried to delete no
I also had to face the same problem with node v12.16.3
.
Remove node-sass
dependency from your package.json
if it is mentioned in your dependencies
.This will allow npm to install other required dependencies without any disruption.
Delete package-lock.json
file and node_modules
folder from your project.
Force clean the entire NPM cache by using following comand.
npm cache clean --force
Re-Install all the dependencies.
npm install
Now you can install node-sass
.
npm i node-sass