Error: pngquant failed to build, make sure that libpng-dev is installed

1, describe

execute NPM install on the window, reporting the following error

second, the solution

on Windows, use the NPM install -g windows-build-tools command . Note that run

with the administrator identity

Read More: