You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After I installed the extension, a little pop-up appeared in the lower-right:
There was an error during Vitest startup. Check the output for more details.
When I clicked the "See Error" button below it, I went to the "Output" tab, where I saw see "Output" below.
The testing tab showed no sign of the extension being installed:
However, Vite Test itself runs just fine for this project, when run at the command line:
This seems similar to #383, but that issue has a very different stack trace vs. this one. It also seems similar to #381 (and I am using NVM) ... but that issue is closed.
Reproduction
I only know two steps:
Install the extension (I had installed it previously, but removed it; not sure if that's relevant)
Get the error
I'd be happy to provide further reproduction info if you can instruct me on what log file (or whatever) would be useful to provide.
Output
[INFO 4:39:54 PM] [v1.6.1] Vitest extension is activated because Vitest is installed or there is a Vite/Vitest config file in the workspace.
[INFO 4:39:54 PM] [API] Using user root config: /Users/me/project/project/vite.config.ts
[INFO 4:39:54 PM] [API] Running Vitest v2.1.2 (project/vite.config.ts) with [email protected]: /Users/me/.nvm/versions/node/v18.20.4/bin/node
[Error 4:39:54 PM] [API] [Error Error] spawn /Users/me/.nvm/versions/node/v18.20.4/bin/node ENOENT
Error: spawn /Users/me/.nvm/versions/node/v18.20.4/bin/node ENOENT
at ChildProcess._handle.onexit (node:internal/child_process:286:19)
at onErrorNT (node:internal/child_process:484:16)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
[Error 4:39:54 PM] [Error Error] spawn /Users/me/.nvm/versions/node/v18.20.4/bin/node ENOENT
Error: spawn /Users/me/.nvm/versions/node/v18.20.4/bin/node ENOENT
at ChildProcess._handle.onexit (node:internal/child_process:286:19)
at onErrorNT (node:internal/child_process:484:16)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
Version
1.6.1
Validations
Check that you are using the latest version of the extension
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Describe the bug
After I installed the extension, a little pop-up appeared in the lower-right:
When I clicked the "See Error" button below it, I went to the "Output" tab, where I saw see "Output" below.
The testing tab showed no sign of the extension being installed:
However, Vite Test itself runs just fine for this project, when run at the command line:
This seems similar to #383, but that issue has a very different stack trace vs. this one. It also seems similar to #381 (and I am using NVM) ... but that issue is closed.
Reproduction
I only know two steps:
I'd be happy to provide further reproduction info if you can instruct me on what log file (or whatever) would be useful to provide.
Output
Version
1.6.1
Validations
The text was updated successfully, but these errors were encountered: