PicGo / vs-picgo

A VSCode plugin of PicGo
https://marketplace.visualstudio.com/items?itemName=Spades.vs-picgo
MIT License
375 stars 52 forks source link

vscode插件上传图片到OSS报错“Error: spawn EPERM” #146

Closed 375785353 closed 1 year ago

375785353 commented 1 year ago

我使用CTRL+ALT+E选择图片可以正常上传成功,使用CTRL+ALT+U上传时报错“Error: spawn EPERM”, 我尝试更换了插件版本,未能解决问题。

2023-06-05 15:42:14 [PicGo ERROR] 
------Error Stack Begin------
Error: spawn EPERM
    at ChildProcess.spawn (node:internal/child_process:413:11)
    at Object.spawn (node:child_process:720:9)
    at c:\Users\E126082\.vscode\extensions\spades.vs-picgo-2.1.3\dist\extension.js:2:1490202
    at new Promise (<anonymous>)
    at t.default (c:\Users\E126082\.vscode\extensions\spades.vs-picgo-2.1.3\dist\extension.js:2:1489602)
    at k.upload (c:\Users\E126082\.vscode\extensions\spades.vs-picgo-2.1.3\dist\extension.js:2:1451080)
    at w.<anonymous> (c:\Users\E126082\.vscode\extensions\spades.vs-picgo-2.1.3\dist\extension.js:2:2278374)
    at Generator.next (<anonymous>)
    at c:\Users\E126082\.vscode\extensions\spades.vs-picgo-2.1.3\dist\extension.js:2:2274409
    at new Promise (<anonymous>)
    at a (c:\Users\E126082\.vscode\extensions\spades.vs-picgo-2.1.3\dist\extension.js:2:2274154)
    at w.upload (c:\Users\E126082\.vscode\extensions\spades.vs-picgo-2.1.3\dist\extension.js:2:2277578)
    at c:\Users\E126082\.vscode\extensions\spades.vs-picgo-2.1.3\dist\extension.js:2:2269346
    at Generator.next (<anonymous>)
    at c:\Users\E126082\.vscode\extensions\spades.vs-picgo-2.1.3\dist\extension.js:2:2268843
    at new Promise (<anonymous>)
    at a (c:\Users\E126082\.vscode\extensions\spades.vs-picgo-2.1.3\dist\extension.js:2:2268588)
    at c:\Users\E126082\.vscode\extensions\spades.vs-picgo-2.1.3\dist\extension.js:2:2269297
    at c:\Users\E126082\.vscode\extensions\spades.vs-picgo-2.1.3\dist\extension.js:2:2269358
    at Generator.next (<anonymous>)
    at c:\Users\E126082\.vscode\extensions\spades.vs-picgo-2.1.3\dist\extension.js:2:2268843
    at new Promise (<anonymous>)
    at a (c:\Users\E126082\.vscode\extensions\spades.vs-picgo-2.1.3\dist\extension.js:2:2268588)
    at c:\Users\E126082\.vscode\extensions\spades.vs-picgo-2.1.3\dist\extension.js:2:2269231
    at c.h (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:96:108784)
    at c.$executeContributedCommand (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:96:109688)
    at a.N (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:106:11223)
    at a.M (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:106:10941)
    at a.H (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:106:10034)
    at a.G (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:106:9015)
    at c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:106:7803
    at f.invoke (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:63:145)
    at m.deliver (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:63:2066)
    at d.fire (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:63:1704)
    at p.fire (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:72:14907)
    at c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:122:16556
    at f.invoke (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:63:145)
    at m.deliver (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:63:2066)
    at d.fire (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:63:1704)
    at p.fire (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:72:14907)
    at MessagePortMain.<anonymous> (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:122:14682)
    at MessagePortMain.emit (node:events:526:28)
    at MessagePortMain._internalPort.emit (node:electron/js2c/utility_init:5:364)
-------Error Stack End------- 
375785353 commented 1 year ago

重复