dart-lang / sdk

The Dart SDK, including the VM, JS and Wasm compilers, analysis, core libraries, and more.
https://dart.dev
BSD 3-Clause "New" or "Revised" License
10.22k stars 1.57k forks source link

VM initialization failed: #56970

Open Hasiru-Herath opened 2 hours ago

Hasiru-Herath commented 2 hours ago

when I run the command "dart run build_runner build" it gives error below;

VM initialization failed: Invalid vm isolate snapshot seen

dart-github-bot commented 2 hours ago

Summary: The user is encountering an error "VM initialization failed: Invalid vm isolate snapshot seen" when running the command "dart run build_runner build". This suggests a problem with the Dart VM's initialization process, potentially due to a corrupted or incompatible snapshot file.