Error with npm update: pngquant binary does not seem to work correctly

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 it worked for me:

Step 1: Run sudo apt-get install libpng-dev.

Step 2: Run npm install -g pngquant-bin.

Step 3: Run npm install.

References:

Click here

Click here

Joydeep M
Latest posts by Joydeep M (see all)
Tagged : /
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