picgo-plugin-coding icon indicating copy to clipboard operation
picgo-plugin-coding copied to clipboard

上传错误[PicGo ERROR]: TypeError: Cannot read properties of undefined (reading '0')

Open Vlary opened this issue 2 years ago • 2 comments

日志如下: [PicGo ERROR]: TypeError: Cannot read properties of undefined (reading '0') at getLastCommitSha (/home/vlary/.config/picgo/node_modules/picgo-plugin-coding/src/index.js:77:35) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.handle (/home/vlary/.config/picgo/node_modules/picgo-plugin-coding/src/index.js:170:27) at async xe.doUpload (/tmp/.mount_PicGo-dXGesT/resources/app.asar/node_modules/picgo/dist/index.cjs.js:1:15103) at async xe.start (/tmp/.mount_PicGo-dXGesT/resources/app.asar/node_modules/picgo/dist/index.cjs.js:1:13874) at async Nt.upload (/tmp/.mount_PicGo-dXGesT/resources/app.asar/node_modules/picgo/dist/index.cjs.js:1:55699) at async Object.upload (/tmp/.mount_PicGo-dXGesT/resources/app.asar/background.js:2:575825) at async Oe (/tmp/.mount_PicGo-dXGesT/resources/app.asar/background.js:2:578543)

Vlary avatar May 26 '22 08:05 Vlary

暂时未复现,稍后处理

zytomorrow avatar May 27 '22 02:05 zytomorrow

我也出现了这个问题,进过多次实验,发现是参数写的不对。日志里可以打印一下就好了,hhh

ad-vancing avatar Mar 03 '23 13:03 ad-vancing