之前运行良好,突然间与 VSCode 相关的工具栏没有显示在屏幕顶部,所以我决定关闭 VSCode,但现在发生了这种情况。每次我尝试打开 VSCode 时都会出现这种情况
Uncaught Exception:
Error: EIO: i/o error, write
at Object.fs.writeSync (fs.js:745:20)
at SyncWriteStream._write (internal/fs.js:75:6)
at doWrite (_stream_writable.js:329:12)
at writeOrBuffer (_stream_writable.js:315:5)
at SyncWriteStream.Writable.write (_stream_writable.js:241:11)
at Console.warn (console.js:51:16)
at r.error (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:209:58)
at t.error (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:212:68)
at Q (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:492:874)
at e.invokeFunction (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:198:919)
at /usr/share/code/resources/app/out/vs/code/electron-main/main.js:493:824
at n.Class.derive._creator.done (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:88:254)
at Object.g [as _notify] (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:83:343)
at Object.enter (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:86:418)
at n.Class.derive._creator._run (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:87:719)
at n.Class.derive._creator._chainedError (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:87:78)
at n (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:84:929)
at Object.g [as _notify] (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:83:170)
at Object.enter (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:86:418)
at n.Class.derive._oncancel._run (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:87:719)
at n.Class.derive._oncancel._error (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:87:236)
at Object.g [as _notify] (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:83:170)
at Object.enter (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:86:418)
at n.Class.derive._oncancel._run (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:87:719)
at n.Class.derive._oncancel._error (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:87:236)
at t.handlers.(anonymous function) (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:154:970)
at e.onMessage (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:155:800)
at /usr/share/code/resources/app/out/vs/code/electron-main/main.js:154:171
at e.fire (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:102:496)
at Socket.<anonymous> (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:160:844)
at emitOne (events.js:96:13)
at Socket.emit (events.js:191:7)
at readableAddChunk (_stream_readable.js:178:18)
at Socket.Readable.push (_stream_readable.js:136:10)
at Pipe.onread (net.js:560:20)
我尝试卸载并重新安装,但无济于事。我正在运行 Ubunutu 16.04 LTS。有什么建议吗?
编辑:一两分钟后,会弹出一个窗口,提示我还有另一个 VSCode 实例正在运行,在重新启动之前应关闭所有实例。我该怎么做?试过了,killall code
但似乎没有用,因为code
这可能不是正确的说法。