When I attempt to begin Visible Studio Code (v 1.89.0) from the command line, through
code
or open /Functions/Visible Studio Code.app
the app icon bounces after which the app crashes. Error beneath.
I’ve tried reinstalling the app. And fully eradicating all consumer settings:
#!/bin/sh
rm -fvr ~/Library/Preferences/com.microsoft.VSCode.plist
rm -fvr ~/Library/Caches/com.microsoft.VSCode
rm -fvr ~/Library/Caches/com.microsoft.VSCode.ShipIt/
rm -fvr ~/Library/Software Help/Code/
rm -fvr ~/Library/Saved Software State/com.microsoft.VSCode.savedState/
rm -fvr ~/.vscode/
Sadly nothing appears to assist. Codium has the identical drawback.
Opening the applying by clicking on it within the GUI works high-quality.
Opening the applying from the command line in a unique consumer profile additionally works high-quality. –> This makes me imagine there’s something in my profile messing with the applying. However… I’ve deleted all Visible Studio Code consumer setting I even ran discover ~/Library -iname "*vscode*" -exec rm -rfv {} ;
.
Any ideas are welcome.
-------------------------------------
Translated Report (Full Report Beneath)
-------------------------------------
Course of: Electron [8177]
Path: /Functions/Visible Studio Code.app/Contents/MacOS/Electron
Identifier: com.microsoft.VSCode
Model: 1.89.0 (1.89.0)
Code Kind: ARM-64 (Native)
Mum or dad Course of: launchd [1]
Person ID: 501
Date/Time: 2024-05-06 13:05:43.2465 +0200
OS Model: macOS 14.4.1 (23E224)
Report Model: 12
Nameless UUID: A768D014-9292-A323-443D-D16A2FB1D8CC
Sleep/Wake UUID: 69BF273A-BFD7-4318-85D6-10436589C244
Time Awake Since Boot: 4200 seconds
Time Since Wake: 452 seconds
System Integrity Safety: enabled
Crashed Thread: 0 CrBrowserMain Dispatch queue: com.apple.main-thread
Exception Kind: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x000000010df8035c
Termination Cause: Namespace SIGNAL, Code 5 Hint/BPT entice: 5
Terminating Course of: exc handler [8177]
Visible Studio Code model
Model: 1.89.0
Commit: b58957e67ee1e712cebf466b995adf4c5307b2bd
Date: 2024-05-01T02:10:13.496Z (5 days in the past)
Electron: 28.2.8
ElectronBuildId: 27744544
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Darwin arm64 23.4.0
Solved
Seems I had the next line in my .zshrc
profile
export SYSTEM_VERSION_COMPAT=1
Eradicating the road solved the problems.
Leave a Comment