admin管理员组文章数量:1332352
Yesterday, Visual Studio Code (1.67.1) decided that it was unable to start (crashes immediately) and spits out the error code -1073741818. I have the option to reopen or close but nothing happens regardless of the option chosen. Thought it might be an issue with the file/folder I was opening but no success opening any files/folders at all. Tried to disable GPU, disable extensions and re-install but all led to the same error code. Tried to move to Atom, but, oddly enough, the same issue occurred. Discovered Atom and VS Code are both based on Electron and that Electron has previously had issues with Nvidia drivers (currently running 512.77) so I tried to install previous versions of the drivers that were working but with no success. I finally gave up and moved the code to another system and everything works flawlessly.
My guess is it is driver-related, but I am not sure how to resolve it. I was able to successfully use VS Code earlier in the day with no issues. The system went into stand-by mode and upon return, the issue began.
VS Code Crash Window
Yesterday, Visual Studio Code (1.67.1) decided that it was unable to start (crashes immediately) and spits out the error code -1073741818. I have the option to reopen or close but nothing happens regardless of the option chosen. Thought it might be an issue with the file/folder I was opening but no success opening any files/folders at all. Tried to disable GPU, disable extensions and re-install but all led to the same error code. Tried to move to Atom, but, oddly enough, the same issue occurred. Discovered Atom and VS Code are both based on Electron and that Electron has previously had issues with Nvidia drivers (currently running 512.77) so I tried to install previous versions of the drivers that were working but with no success. I finally gave up and moved the code to another system and everything works flawlessly.
My guess is it is driver-related, but I am not sure how to resolve it. I was able to successfully use VS Code earlier in the day with no issues. The system went into stand-by mode and upon return, the issue began.
VS Code Crash Window
Share Improve this question edited Sep 24, 2024 at 15:19 TylerH 21.1k78 gold badges79 silver badges112 bronze badges asked May 14, 2022 at 1:26 EngidahvsEngidahvs 311 gold badge1 silver badge2 bronze badges3 Answers
Reset to default 4If you faced this issue recently, Reverting to an older version
For Linux users
Try to run
sudo snap revert code
To revert the last update ( which wasn't crashing ).
If this doesn't work, then run
sudo snap remove code
sudo snap install --revision 159 --classic code
To install the recent version (that doesn't crash )
For Windows or Mac users
Just uninstall the current vs code, and reinstall an older version from GitHub VScode releases
Please check if you've installed any additional extensions which may be causing the VSCode to crash.
My VS code keeps crashing when opening it
I think this is caused by an corrupt installation of Visual Studio Code, try to restart your puter and maybe reinstall VS Code by going to, https://code.visualstudio..
If that does not help maybe try to submit an issue on the VS Code GitHub repository here: https://github./microsoft/vscode.
本文标签: javascriptVisual Studio Code crashes on startup (code 1073741818)Stack Overflow
版权声明:本文标题:javascript - Visual Studio Code crashes on startup (code: -1073741818) - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742322480a2453067.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论