npm install ->Failed at the node-sass@4.5.0 postinstall script npm install ->Failed at the node-sass@4.5.0 postinstall script angular angular

npm install ->Failed at the node-sass@4.5.0 postinstall script


Got the same problem (node v10.3.0, ionic 3.13.0). This worked :

  • Delete package-lock.json,
  • Delete node_modules folder,
  • Run npm install again.


try

sudo rm -rf package-lock.json node_modulessudo npm cache clean --forcesudo npm i --unsafe-perm node-sass


Just Try with this command hope it will very helpful.it's working for me

sudo npm install -g node-sass@4.5.0 --unsafe-perm=true --allow-root