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
Uninstall current npm and install lower versions, it is a common error if version didn't match, downgrading node/npm will mostly fix this kind of issues
npm install -g npm@4.6.1
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
use this flag --unsafe-perm=true
sudo npm i gulp-sass -ES --unsafe-perm=true
Got the same problem (node v10.3.0, ionic 3.13.0). This worked :
package-
lock.json
,node_modules
folder, npm install
again.The following steps worked for me
npm install -g node-sass@4.5.0 --unsafe-perm=true --allow-root
npm cache clean
npm install
The minimum version of node-sass that supports Node 8 is 4.5.3. You'll need to upgrade your node-sass or downgrade your Node version. Ionic may also have separate issues since it isn't a tested platform with node-sass.