Page 1 of 1

Failed at the node-sass@4.12.0 postinstall script.

Posted: Mon Dec 02, 2019 12:57 pm
by Dev@2609
Hi Team, I downloaded the demo version of the product and while trying the examples of the angular advanced I am getting error for node-sass module.

I have tried removing the package.json.lock file, deleted node modules and reinstalled the npm as well still no effect. Also tried to install npm install node-sass as well.

Any help would be appreciated.

Re: Failed at the node-sass@4.12.0 postinstall script.

Posted: Mon Dec 02, 2019 4:22 pm
by saki
I have tried it but it works without problems. See the video.
angular-gantt-trial.gif
angular-gantt-trial.gif (5.08 MiB) Viewed 8047 times
Can it be that you have node-sass installed globally? Also, there is no reference to node-sass in advanced/package.json.

Re: Failed at the node-sass@4.12.0 postinstall script.

Posted: Mon Dec 02, 2019 5:23 pm
by saki
Also, node version 12 is not supported. Please install node 10 from here: https://nodejs.org/dist/latest-v10.x/

Re: Failed at the node-sass@4.12.0 postinstall script.

Posted: Wed Dec 04, 2019 7:20 am
by Dev@2609
Reinstalling angular cli and degrading typescript version to 3.4.5 did it for me... Thanks for your help