Failed at the node-sass@4.11.0 postinstall script

While installing npm for my ongoing project I got a error as shown below:

To rectify the error I followed the steps given below and Booyah it worked for me:

Step 1: Remove node_modules folder.

Step 2: Remove package-lock.json file.

Step 3: Run npm install -g --unsafe-perm node-sass

Step 4: Run npm install.

Step 5: Run npm run dev.

References:

Click here
Click here

Joydeep M
Latest posts by Joydeep M (see all)
0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x