执行yarn报错-node_modules\pngquant-bin: Command failed
执行yarn报错
error K:\phpstudy_pro\WWW\xxx\node_modules\pngquant-bin: Command failed.
Exit code: 1
Command: node lib/install.js
Arguments:
Directory: K:\phpstudy_pro\WWW\ROG2nd\packages\zhiyicx-plus-group\node_modules\pngquant-bin
Output:
‼ getaddrinfo ENOENT raw.githubusercontent.com raw.githubusercontent.com:443
‼ pngquant pre-build test failed
i compiling from source
√ pngquant pre-build test passed successfully
改为执行cnpm i
解决
本作品采用《CC 协议》,转载必须注明作者和本文链接
推荐文章: