question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to run tests with v0.1.13

See original GitHub issue

I reloaded my VSCode window and lost the ability to run tests. I only have a “Go to Test” icon in the left testing pane, and when I right-click the symbol next to the test, I get this menu:

Screen Sharing Picture March 30, 2022 at 11 24 32 CDT

I tried setting the command line to npx vitest in the extension settings, but that didn’t help.

I noticed that you posted a new version yesterday, so that version may be the problem.

VSCode v1.65.2

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
jtlappcommented, Mar 30, 2022

THANK YOU! I upgraded to vitest@0.8.1, and everything is working again, with v0.1.14. I upgraded vitest before retesting, though.

And thanks for keeping up with bug fixes!

0reactions
calebboydcommented, Mar 30, 2022

The brace-expansion dependency appears to be missing in 0.1.14

Here is a require stack

[2022-03-30 18:08:37.894] [exthost] [error] Activating extension ZixuanChen.vitest-explorer failed due to an error:
[2022-03-30 18:08:37.894] [exthost] [error] Error: Cannot find module 'brace-expansion'
Require stack:
- /Users/me/.vscode/extensions/zixuanchen.vitest-explorer-0.1.14/node_modules/minimatch/minimatch.js
- /Users/me/.vscode/extensions/zixuanchen.vitest-explorer-0.1.14/out/vscodeUtils.js
- /Users/me/.vscode/extensions/zixuanchen.vitest-explorer-0.1.14/out/TestData.js
- /Users/me/.vscode/extensions/zixuanchen.vitest-explorer-0.1.14/out/discover.js
- /Users/me/.vscode/extensions/zixuanchen.vitest-explorer-0.1.14/out/extension.js
- /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/loader.js
Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues - GitHub
failed to initialize project: unable to run pre-scaffold tasks of "base.go.kubebuilder.io/v3": go version 'go1.15' is incompatible because 'plugin requires go1.
Read more >
Issue with wallaby while running tests - Elixir Forum
I am getting the issue with Wallaby whenever I try to run mix test. ... It is unable to identify Wallaby.Experimental.Chrome. It was...
Read more >
What is causing this error - "Fatal error: Unable to find local ...
I think you don't have a grunt.js file in your project directory. Use grunt:init , which gives you options such as jQuery, node,commonjs...
Read more >
Unable to run tests - Visual Studio Feedback
UnitTestFramework'. To run tests, remove this reference from the project and add a nuget reference to 'MSTest. TestAdapter' and 'MSTest. TestFramework' instead.
Read more >
Solang Test Suite
These tests do the following: Look for a comment // RUN: and then run the compiler with the given arguments and the filename...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found