Open sandersaares opened 1 month ago
Happened again just 2 minutes ago, again at local noon 12:00 exactly.
Same here - but I only experience this in Dev Box.
I encounter this relatively regularly on my machine. I have VS Code installed at the system level to leverage it on multiple profiles (personal, work).
Perhaps some hits of this issue are related to system-level installations requiring elevation to update, which is documented here? I have never seen the elevation prompt mentioned:
The in-product update flow will also require elevation, making it less streamlined than the user setup. On the other hand, installing VS Code using the system setup means that it will be available to all users in the system.
before encountering this issue.
If there's any diagnostics/settings I can enable to help improve the experience here, please let me know.
Does this issue occur when all extensions are disabled?: Unknown
Version: 1.91.1 (system setup) Commit: f1e16e1e6214d7c44d078b1f0607b2388f29d729 Date: 2024-07-09T22:06:49.809Z Electron: 29.4.0 ElectronBuildId: 9728852 Chromium: 122.0.6261.156 Node.js: 20.9.0 V8: 12.2.281.27-electron.0 OS: Windows_NT x64 10.0.22631
Steps to Reproduce:
.js
files.Has happened twice so far (last time about a month ago, presumably with previous update).
VS code
main.log
has the following on recent startup before the event:The Application event log has some
RestartManager
entries at the time when the problem started:Starting session 0 - 2024-08-02T09:00:39.339256800Z.
Application 'C:\Program Files\Microsoft VS Code\Code.exe' (pid 8852) cannot be restarted - Application SID does not match Conductor SID..
(repeated with different PIDs)Machine restart is required.
Ending session 0 started 2024-08-02T09:00:39.339256800Z.
Next to the vanished
resources/app/out
directory is a directoryresources/app/node_modules.asar.unpacked
whose timestamp matches the event in the Application event log.I surmise that VS Code tried to update itself but somehow messed up and left me with a broken installation. I will reinstall since I need to continue my work but I have made copies of relevant folders in case there may be something valuable in there (I was not able to find any other relevant logs, though).