執行yarn報錯-node_modules\pngquant-bin: Command failed

lmdfx發表於2021-02-19

執行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 協議》,轉載必須註明作者和本文連結
心之所向,素履以往。

相關文章