Failed at the node-sass@4.12.0 postinstall script.

Discuss anything related to web development but *no* technical support questions
Post Reply
User avatar
Dev@2609
Posts: 6
Joined: Mon Dec 02, 2019 12:22 pm

Failed at the node-sass@4.12.0 postinstall script.

Post by Dev@2609 » Mon Dec 02, 2019 12:57 pm

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.

User avatar
saki
Core Developer
Core Developer
Posts: 229
Joined: Thu Mar 30, 2017 9:32 am

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

Post by saki » Mon Dec 02, 2019 4:22 pm

I have tried it but it works without problems. See the video.
angular-gantt-trial.gif
angular-gantt-trial.gif (5.1 MiB) Viewed 57 times
Can it be that you have node-sass installed globally? Also, there is no reference to node-sass in advanced/package.json.

User avatar
saki
Core Developer
Core Developer
Posts: 229
Joined: Thu Mar 30, 2017 9:32 am

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

Post by saki » Mon Dec 02, 2019 5:23 pm

Also, node version 12 is not supported. Please install node 10 from here: https://nodejs.org/dist/latest-v10.x/

User avatar
Dev@2609
Posts: 6
Joined: Mon Dec 02, 2019 12:22 pm

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

Post by Dev@2609 » Wed Dec 04, 2019 7:20 am

Reinstalling angular cli and degrading typescript version to 3.4.5 did it for me... Thanks for your help

Post Reply