-
-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vitest version = undefined #142
Comments
I also have the same issue. Although I suspect a
However, when I run the command in PowerShell I get this:
I haven't checked how the code tries to extract Vitest version, but I suspect that |
Thanks for the investigation ! I hope this gets merged fast then. |
With the latest version of the extension (0.2.40) I started to have the same problem. Here are the logs:
But if I run the command on the terminal:
|
Published another fix on 0.2.41 that should work on both mac and win |
Yes, confirmed! Thank you so much! |
Still not working for me on Ubuntu 22.04 |
Hi! I am also suffering from this. My env: WSL2 with Ubuntu, with the latest version (0.2.41) |
Same for me, doesn't seem to work with latest version (0.2.42). I created a similar (possibly duplicate) issue: #171. For me the play buttons become unclickable when watch mode is running (see mentioned issue). |
@zxch3n can we please reopen this ? |
In my case I feel this is because of the combinaison of a node version manager (no global node installed) and pnpm.
The first command runs well in a terminal because node is in my path. But probably fails because it is not in the extension process.env.PATH |
If I add shims for my tools manager it works (rtx in my case): https://github.com/jdx/rtx#ide-integration |
In the screenshot above the green play arrow is not clickable, with the error log shown in the vitest output.
Seems to be related to #44 and #88, but it doesn't appear to be fixed for me.
Environment
Additional context
I am running in a docker container, from the official node image
node:lts-alpine
It works without issue when ran from the command line:
The text was updated successfully, but these errors were encountered: