[Bug]: 无法下载或者导入插件: picgo-plugin-web-uploader
Comekeybord opened this issue · comments
前置阅读 | Pre-reading
PicGo的版本 | PicGo Version
v2.4.0-beta.7 && v2.3.1-ia32
系统信息 | System Information
Windows
问题重现 | Bug reproduce
错误码都是255
相关日志 | Logs
2024-05-03 23:39:28 [PicGo ERROR]
------Error Stack Begin------
Error: Error: [object Object]
at Object.ve [as handle] (F:\Program Files\PicGo\resources\app.asar\node_modules\picgo\dist\index.cjs.js:1:18794)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async $e.doUpload (F:\Program Files\PicGo\resources\app.asar\node_modules\picgo\dist\index.cjs.js:1:17198)
at async $e.start (F:\Program Files\PicGo\resources\app.asar\node_modules\picgo\dist\index.cjs.js:1:15969)
at async Tt.upload (F:\Program Files\PicGo\resources\app.asar\node_modules\picgo\dist\index.cjs.js:1:71270)
at async Object.upload (F:\Program Files\PicGo\resources\app.asar\background.js:2:653584)
at async jn (F:\Program Files\PicGo\resources\app.asar\background.js:2:656251)
at async F:\Program Files\PicGo\resources\app.asar\background.js:2:657340
-------Error Stack End-------
2024-05-03 23:39:28 [PicGo INFO] [PicGo Server] upload result
2024-05-03 23:39:28 [PicGo WARN] [PicGo Server] upload failed, see picgo.log for more detail ↑
2024-05-03 23:48:30 [PicGo INFO] [PicGo Server] is listening at 36677
2024-05-03 23:48:30 [PicGo INFO] register builtin shortKey command: [picgo:upload] - [CommandOrControl+Shift+P]
2024-05-03 23:48:30 [PicGo INFO] register builtin shortKey command: [picgo:upload] - [CommandOrControl+Shift+P] successfully
2024-05-03 23:48:51 [PicGo ERROR] 插件安装失败,失败码为255,错误日志为
����������ȷ��
2024-05-03 23:50:52 [PicGo INFO] [PicGo Server] is listening at 36677
2024-05-03 23:50:52 [PicGo INFO] register builtin shortKey command: [picgo:upload] - [CommandOrControl+Shift+P]
2024-05-03 23:50:52 [PicGo INFO] register builtin shortKey command: [picgo:upload] - [CommandOrControl+Shift+P] successfully
2024-05-03 23:51:08 [PicGo ERROR] 插件安装失败,失败码为255,错误日志为
����������ȷ��
2024-05-03 23:51:16 [PicGo WARN] Can't find plugin: F:/Program Files/PicGo/node_modules/picgo-plugin-web-uploader/src
2024-05-03 23:51:16 [PicGo ERROR] 插件卸载失败,请输入合法插件名
2024-05-03 23:51:26 [PicGo WARN] Can't find plugin: F:/Program Files/PicGo/node_modules
2024-05-03 23:51:26 [PicGo ERROR] 插件卸载失败,请输入合法插件名
2024-05-03 23:51:33 [PicGo ERROR] 插件安装失败,失败码为255,错误日志为
����������ȷ��
2024-05-03 23:53:11 [PicGo ERROR] 插件安装失败,失败码为255,错误日志为
����������ȷ��
2024-05-03 23:53:18 [PicGo INFO] [PicGo Server] is listening at 36677
2024-05-03 23:53:18 [PicGo INFO] register builtin shortKey command: [picgo:upload] - [CommandOrControl+Shift+P]
2024-05-03 23:53:18 [PicGo INFO] register builtin shortKey command: [picgo:upload] - [CommandOrControl+Shift+P] successfully
2024-05-03 23:56:05 [PicGo ERROR] 插件安装失败,失败码为255,错误日志为
����������ȷ��
这个可能跟你安装的 nodejs 版本以及对应的的 npm 版本有关系
可以尝试删掉配置文件所在目录的 package.json 、package-lock.json 文件以及 node_modules 文件夹。然后重启 picgo 再次安装插件试试