vscode: Error loading V8 startup snapshot file

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version:
Version: 1.78.2 (user setup)
Commit: b3e4e68a0bc097f0ae7907b217c1119af9e03435
Date: 2023-05-10T14:39:26.248Z (1 wk ago)
Electron: 22.5.2
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: 10.8.168.25-electron.0
OS: Windows_NT x64 10.0.19045
Sandboxed: Yes
  • OS Version:
OS Name:                   Microsoft Windows 10 Enterprise
OS Version:                10.0.19045 N/A Build 19045
  • Steps to Reproduce:
  1. Open cmd.exe
  2. Type command code C:\temp
  • Error seen in cmd: [0524/171457.701:FATAL:v8_initializer.cc(527)] Error loading V8 startup snapshot file

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Reactions: 4
  • Comments: 18 (3 by maintainers)

Most upvoted comments

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

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

I had this problem in 2024, and this was the only solution that worked without a reinstall

Can confirm that this solution helped.

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

I had this problem in 2024, and this was the only solution that worked without a reinstall

i had same issue, then i just override vscode installer with new app version, it’s work

I am also having the same problem, also not sure why it is happening; When I use the command code . --verbose I get this error:

[0830/101630.031:FATAL:v8_initializer.cc(527)] Error loading V8 startup snapshot file

OS: Windows 10 Enterprise 10.0.19044 Build 19044 Version of VS Code: 1.81.1

I will re-install the program however would be good to know what is exactly the problem

Thank you 💯

I also experienced this error today. I mostly open VS Code from WSL & it was working fine until last night. (In hindsight I might have accidentally closed the WSL terminal when VS Code was updating)

The issue was fixed after re-installing VS Code.

Vs Code Version: 1.8.1 OS: Windows 10 Version: 10.0.19045.3324

I have the same issue with windows 10, reinstalling is the only way to work around?

Seems to be a corrupted installation, can you re-install the application and check if the issue persists. Thanks!