参考:https://github.com/GoogleChromeLabs/squoosh/issues/1207
临时解决方案是降级到0.7.1:
- 删除`C:\Users\**username**\AppData\Roaming\npm\node_modules\@squoosh\cli`
- 执行
npm i -g @squoosh/cli@0.7.1
参考:https://github.com/GoogleChromeLabs/squoosh/issues/1207
临时解决方案是降级到0.7.1:
npm i -g @squoosh/cli@0.7.1