Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

image2webp报错 #62

Open
boringhex-top opened this issue Dec 29, 2022 · 2 comments
Open

image2webp报错 #62

boringhex-top opened this issue Dec 29, 2022 · 2 comments

Comments

@boringhex-top
Copy link

boringhex-top commented Dec 29, 2022

PicGo 2.3.1
Win10 19044

2022-12-29 12:18:46 [PicGo INFO] Before transform
2022-12-29 12:18:46 [PicGo INFO] Transforming... Current transformer is [compress]
2022-12-29 12:18:46 [PicGo INFO] 压缩:image2webp
2022-12-29 12:18:46 [PicGo INFO] 图片地址:C:\Users\yp.wang\Desktop\微信截图_20221123105211.png
2022-12-29 12:18:46 [PicGo INFO] 图片信息:{"fileName":"微信截图_20221123105211.png","extname":".png"}
2022-12-29 12:18:46 [PicGo INFO] Image2WebP 压缩开始
2022-12-29 12:18:46 [PicGo INFO] 获取本地图片
2022-12-29 12:18:46 [PicGo INFO] 转换图片为WebP
2022-12-29 12:18:46 [PicGo WARN] failed
2022-12-29 12:18:46 [PicGo ERROR]
------Error Stack Begin------
Error: ϵͳ�Ҳ���ָ����·����

at notFoundError (C:\Users\yp.wang\AppData\Roaming\picgo\node_modules\exec-buffer\node_modules\cross-spawn\lib\enoent.js:11:11)
at verifyENOENT (C:\Users\yp.wang\AppData\Roaming\picgo\node_modules\exec-buffer\node_modules\cross-spawn\lib\enoent.js:46:16)
at ChildProcess.cp.emit (C:\Users\yp.wang\AppData\Roaming\picgo\node_modules\exec-buffer\node_modules\cross-spawn\lib\enoent.js:33:19)
at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)

-------Error Stack End-------
2022-12-29 12:18:46 [PicGo ERROR]
------Error Stack Begin------
Error: ϵͳ�Ҳ���ָ����·����

at notFoundError (C:\Users\yp.wang\AppData\Roaming\picgo\node_modules\exec-buffer\node_modules\cross-spawn\lib\enoent.js:11:11)
at verifyENOENT (C:\Users\yp.wang\AppData\Roaming\picgo\node_modules\exec-buffer\node_modules\cross-spawn\lib\enoent.js:46:16)
at ChildProcess.cp.emit (C:\Users\yp.wang\AppData\Roaming\picgo\node_modules\exec-buffer\node_modules\cross-spawn\lib\enoent.js:33:19)
at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)

-------Error Stack End-------

@ReCclay
Copy link

ReCclay commented Jan 20, 2023

同问,我只能用imagemin,使用image2webp就会报同样的错误!

@niaodian
Copy link

niaodian commented Jul 8, 2023

same issue happened on MacOS as well:

------Error Stack Begin------
Error: spawn /Users/xxx/Library/Application Support/picgo/node_modules/cwebp-bin/vendor/cwebp ENOENT
    at Process.ChildProcess._handle.onexit (node:internal/child_process:282:19)
    at onErrorNT (node:internal/child_process:477:16)
    at processTicksAndRejections (node:internal/process/task_queues:83:21)
-------Error Stack End------- 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants