Molunerfinn / PicGo

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

[Bug]: Error: ENOENT: no such file or directory, open '‪E:/java_study/picgo/blog_upload.json' #1134

Closed Wangliang-ai closed 1 year ago

Wangliang-ai commented 1 year ago

前置阅读 | Pre-reading

PicGo的版本 | PicGo Version

v2.3.0

系统信息 | System Information

Windows

问题重现 | Bug reproduce

------Error Stack Begin------ Error: ENOENT: no such file or directory, open '‪E:/java_study/picgo/blog_upload.json' at Object.openSync (fs.js:447:3) at Object.func (electron/js2c/asar.js:138:31) at Object.func [as openSync] (electron/js2c/asar.js:138:31) at Object.readFileSync (fs.js:349:35) at Object.fs.readFileSync (electron/js2c/asar.js:580:40) at Object.fs.readFileSync (electron/js2c/asar.js:580:40) at C:\Users\wang\AppData\Roaming\picgo\node_modules\picgo-plugin-sftp-uploader\dist\config.js:75:45 at new Promise () at Object.exports.getPcigoConfig (C:\Users\wang\AppData\Roaming\picgo\node_modules\picgo-plugin-sftp-uploader\dist\config.js:39:12) at Object.handle (C:\Users\wang\AppData\Roaming\picgo\node_modules\picgo-plugin-sftp-uploader\dist\index.js:15:43) -------Error Stack End------- 2023-05-28 09:51:52 [PicGo WARN] [PicGo Server] upload failed, see picgo.log for more detail ↑

相关日志 | Logs

------Error Stack Begin------ Error: ENOENT: no such file or directory, open '‪E:/java_study/picgo/blog_upload.json' at Object.openSync (fs.js:447:3) at Object.func (electron/js2c/asar.js:138:31) at Object.func [as openSync] (electron/js2c/asar.js:138:31) at Object.readFileSync (fs.js:349:35) at Object.fs.readFileSync (electron/js2c/asar.js:580:40) at Object.fs.readFileSync (electron/js2c/asar.js:580:40) at C:\Users\wang\AppData\Roaming\picgo\node_modules\picgo-plugin-sftp-uploader\dist\config.js:75:45 at new Promise () at Object.exports.getPcigoConfig (C:\Users\wang\AppData\Roaming\picgo\node_modules\picgo-plugin-sftp-uploader\dist\config.js:39:12) at Object.handle (C:\Users\wang\AppData\Roaming\picgo\node_modules\picgo-plugin-sftp-uploader\dist\index.js:15:43) -------Error Stack End------- 2023-05-28 09:51:52 [PicGo WARN] [PicGo Server] upload failed, see picgo.log for more detail ↑

Molunerfinn commented 1 year ago

为什么重复发帖?之前的issue已经说明了不是picgo的报错是 sftp插件的报错 请你去插件仓库反馈