-
-
Notifications
You must be signed in to change notification settings - Fork 106
Open
Labels
Description
Describe the bug
When attempting to debug a test using the Vitest VS Code extension, the following error is thrown:
Error: Vitest failed to find the runner. This is a bug in Vitest. Please, open an issue with reproduction.
Reproduction
https://github.com/edumserrano/vitest-failed-to-find-runner-bug
System Info
System:
OS: Windows 11 10.0.26200
CPU: (16) x64 AMD Ryzen 7 7800X3D 8-Core Processor
Memory: 28.48 GB / 63.16 GB
Binaries:
Node: 24.11.1 - C:\Program Files\nodejs\node.EXE
npm: 11.6.0 - C:\Program Files\nodejs\npm.CMD
Browsers:
Chrome: 142.0.7444.176
Edge: Chromium (140.0.3485.54)
Firefox: 142.0.1 - C:\Program Files\Mozilla Firefox\firefox.exe
Internet Explorer: 11.0.26100.1882
npmPackages:
@vitest/coverage-v8: ^4.0.13 => 4.0.14
@vitest/ui: ^4.0.13 => 4.0.14
vitest: ^4.0.13 => 4.0.14Used Package Manager
npm
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.