Error node-sass@4.9.0 postinstall: node scripts/build.js error in ionic3?


#1

I have created a app in ionic3 and i have installed npm i @ionic/app-scripts for app/script but after run this command i got error node-sass@4.9.0 postinstall: `node scripts/build.js and npm ERR! Failed at the node-sass@4.9.0 postinstall script in console and i have tried below commands but not working?

Setps for reproduce:

  1. sudo npm install -g node-sass@4.5.3 --unsafe-perm=true --allow-root
  2. sudo ln -s /usr/bin/nodejs /usr/bin/node