Molunerfinn / PicGo

:rocket:A simple & beautiful tool for pictures uploading built by vue-cli-electron-builder
https://molunerfinn.com/PicGo/
MIT License
24.2k stars 2.24k forks source link

[求助]: picgo amazon s3 uploader 插件安装成功,床列表里没有,刷新后又显示未安装状态! #1285

Closed tmdos closed 1 month ago

tmdos commented 1 month ago

前置阅读 | Pre-reading

PicGo的版本 | PicGo Version

v24.0-beta

系统信息 | System Information

Windows

问题重现 | Bug reproduce

picgo amazon s3 uploader 插件安装成功,图床列表里没有,刷新后又显示未安装状态! 1 2

相关日志 | Logs

-------Error Stack End------- 2024-10-23 01:06:10 [PicGo INFO] [PicGo Server] shutdown 2024-10-23 01:12:33 [PicGo ERROR] ------Error Stack Begin------ Error: Cannot find module 'peek-readable' Require stack:

tmdos commented 1 month ago
at Function.c._load (node:electron/js2c/asar_bundle:5:13331)
at Object.<anonymous> (C:\Users\Administrator\AppData\Roaming\picgo\node_modules\strtok3\lib\AbstractTokenizer.js:4:25)
at Function.c._load (node:electron/js2c/asar_bundle:5:13331)
at Object.<anonymous> (C:\Users\Administrator\AppData\Roaming\picgo\node_modules\strtok3\lib\ReadStreamTokenizer.js:4:29)
at Function.c._load (node:electron/js2c/asar_bundle:5:13331)
at Object.<anonymous> (C:\Users\Administrator\AppData\Roaming\picgo\node_modules\strtok3\lib\core.js:4:31)
at Function.c._load (node:electron/js2c/asar_bundle:5:13331)
at Object.<anonymous> (C:\Users\Administrator\AppData\Roaming\picgo\node_modules\strtok3\lib\index.js:5:14)
at Function.c._load (node:electron/js2c/asar_bundle:5:13331)
at Object.<anonymous> (C:\Users\Administrator\AppData\Roaming\picgo\node_modules\file-type\index.js:2:17)
at Function.c._load (node:electron/js2c/asar_bundle:5:13331)
at Object.<anonymous> (C:\Users\Administrator\AppData\Roaming\picgo\node_modules\picgo-plugin-s3\dist\utils.js:10:21)
at Function.c._load (node:electron/js2c/asar_bundle:5:13331)
at Object.<anonymous> (C:\Users\Administrator\AppData\Roaming\picgo\node_modules\picgo-plugin-s3\dist\uploader.js:10:17)
at Function.c._load (node:electron/js2c/asar_bundle:5:13331)
at Object.<anonymous> (C:\Users\Administrator\AppData\Roaming\picgo\node_modules\picgo-plugin-s3\dist\index.js:5:36)
at Function.c._load (node:electron/js2c/asar_bundle:5:13331)
at Nt.getPlugin (D:\Program Files\PicGo\resources\app.asar\node_modules\picgo\dist\index.cjs.js:1:43919)
at Nt.registerPlugin (D:\Program Files\PicGo\resources\app.asar\node_modules\picgo\dist\index.cjs.js:1:43042)
at Nt.load (D:\Program Files\PicGo\resources\app.asar\node_modules\picgo\dist\index.cjs.js:1:42716)
at $t.init (D:\Program Files\PicGo\resources\app.asar\node_modules\picgo\dist\index.cjs.js:1:73680)
at new $t (D:\Program Files\PicGo\resources\app.asar\node_modules\picgo\dist\index.cjs.js:1:72925)
at D:\Program Files\PicGo\resources\app.asar\index.js:2:683957
at D:\Program Files\PicGo\resources\app.asar\index.js:2:734774
at Object.<anonymous> (D:\Program Files\PicGo\resources\app.asar\index.js:2:734778)
at Function.c._load (node:electron/js2c/asar_bundle:5:13331)
at Object.<anonymous> (node:electron/js2c/browser_init:193:3197)
at Object../lib/browser/init.ts (node:electron/js2c/browser_init:193:3401)
at __webpack_require__ (node:electron/js2c/browser_init:1:128)
at node:electron/js2c/browser_init:1:1200
at node:electron/js2c/browser_init:1:1267
at Function.c._load (node:electron/js2c/asar_bundle:5:13331)

-------Error Stack End------- 2024-10-23 01:34:17 [PicGo INFO] register builtin shortKey command: [picgo:upload] - [CommandOrControl+Shift+P] 2024-10-23 01:34:17 [PicGo INFO] register builtin shortKey command: [picgo:upload] - [CommandOrControl+Shift+P] successfully 2024-10-23 01:36:02 [PicGo ERROR] ------Error Stack Begin------ Error [ERR_REQUIRE_ESM]: require() of ES Module C:\Users\Administrator\node_modules\peek-readable\lib\index.js from C:\Users\Administrator\AppData\Roaming\picgo\node_modules\strtok3\lib\AbstractTokenizer.js not supported. Instead change the require of index.js in C:\Users\Administrator\AppData\Roaming\picgo\node_modules\strtok3\lib\AbstractTokenizer.js to a dynamic import() which is available in all CommonJS modules. at Function.c._load (node:electron/js2c/asar_bundle:5:13331) at Object. (C:\Users\Administrator\AppData\Roaming\picgo\node_modules\strtok3\lib\AbstractTokenizer.js:4:25) at Function.c._load (node:electron/js2c/asar_bundle:5:13331) at Object. (C:\Users\Administrator\AppData\Roaming\picgo\node_modules\strtok3\lib\ReadStreamTokenizer.js:4:29) at Function.c._load (node:electron/js2c/asar_bundle:5:13331) at Object. (C:\Users\Administrator\AppData\Roaming\picgo\node_modules\strtok3\lib\core.js:4:31) at Function.c._load (node:electron/js2c/asar_bundle:5:13331) at Object. (C:\Users\Administrator\AppData\Roaming\picgo\node_modules\strtok3\lib\index.js:5:14) at Function.c._load (node:electron/js2c/asar_bundle:5:13331) at Object. (C:\Users\Administrator\AppData\Roaming\picgo\node_modules\file-type\index.js:2:17) at Function.c._load (node:electron/js2c/asar_bundle:5:13331) at Object. (C:\Users\Administrator\AppData\Roaming\picgo\node_modules\picgo-plugin-s3\dist\utils.js:10:21) at Function.c._load (node:electron/js2c/asar_bundle:5:13331) at Object. (C:\Users\Administrator\AppData\Roaming\picgo\node_modules\picgo-plugin-s3\dist\uploader.js:10:17) at Function.c._load (node:electron/js2c/asar_bundle:5:13331) at Object. (C:\Users\Administrator\AppData\Roaming\picgo\node_modules\picgo-plugin-s3\dist\index.js:5:36) at Function.c._load (node:electron/js2c/asar_bundle:5:13331) at Nt.getPlugin (D:\Program Files\PicGo\resources\app.asar\node_modules\picgo\dist\index.cjs.js:1:43919) at Nt.registerPlugin (D:\Program Files\PicGo\resources\app.asar\node_modules\picgo\dist\index.cjs.js:1:43042) at D:\Program Files\PicGo\resources\app.asar\node_modules\picgo\dist\index.cjs.js:1:55490 at Array.forEach () at Rt.install (D:\Program Files\PicGo\resources\app.asar\node_modules\picgo\dist\index.cjs.js:1:55455) at async IpcMainImpl. (D:\Program Files\PicGo\resources\app.asar\index.js:2:710584) -------Error Stack End------- 2024-10-23 01:36:02 [PicGo SUCCESS] 插件安装成功

Molunerfinn commented 1 month ago

报错很明显了 这个模块不存在。所以picgo无法把这个插件运行起来。请去插件仓库反馈

caibimiaokong commented 3 weeks ago

我也遇到这个问题了

caibimiaokong commented 3 weeks ago

Piclist可正常使用