VSCode 在MacOS无法打开
版本
VSCode version: 1.91.0 (x64)
错误信息:
bash
MacBook-Pro ~ % /Users/mac/Downloads/FirefoxDownloads/Visual\ Studio\ Code.app/Contents/MacOS/Electron ; exit;
[0710/142747.971951:ERROR:crash_report_database_mac.mm(753)] open lock /Users/mac/Library/Application Support/Code/Crashpad/pending/fb2beb04-ee60-4fb6-8fe8-655b92a72d42.dmp: Resource temporarily unavailable (35)
[3167:0710/142748.372389:ERROR:node_bindings.cc(162)] Fatal error in V8: v8::Template::Set Invalid value, must be a primitive or a Template
[0710/142748.381182:WARNING:process_memory_mac.cc(94)] mach_vm_read(0x7ffee13a4000, 0x2000): (os/kern) invalid address (1)
[0710/142748.623533:WARNING:crash_report_exception_handler.cc(235)] UniversalExceptionRaise: (os/kern) failure (5)
[0710/142748.623643:ERROR:directory_reader_posix.cc(43)] opendir /Users/mac/Library/Application Support/Code/Crashpad/attachments/0e0478b8-218f-476b-9d26-6b8ab43712c9: No such file or directory (2)
zsh: segmentation fault
解决方法:
1、下载 V1.90 版本的程序
vscode - v1.90
2、关闭 自动更新
设置---更新---update:mode = None