執行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 協議》,轉載必須註明作者和本文連結