vscode 动不动就无法启动呀?
表现为启动在任务管理器中一闪而过
我这边过一个周末就不行了,昨天重新安装,今天又启动不了了
解决方案:
在cmd中启动code.exe
报错提示:
FATAL:v8_initializer.cc(630)] Error loading V8 startup snapshot file
搜索发现github上vscode很多人遇到了这个问题。
以下方法解决了我的问题,避免了重装。
I had the same issue here. I don´t know why, but after the latest VS Code release, a folder was created in my VS Code folder (C:\Users\XXX\AppData\Local\Programs\Microsoft VS Code) called "_". I copied everything from this folder and pasted it into the VS Code folder and the error disappeared. Try this too and see if solves the problem
将_ 目录的文件就正常了。
另外,分享一个打开白茫茫一片的问题(支持原创请到: VSCode打开后闪退解决方案_vscode闪退-CSDN博客)
1、添加--no-sandbox
点击vs code图标,添加--no-sandbox
亲测有效
设置图片: