-
-
Notifications
You must be signed in to change notification settings - Fork 93
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
Unable to find 'node' executable when using VSCode on Windows with fnm (Fast Node Manager) #486
Comments
Ok, so searching the issues didn't turn up any results for me initially but after briefly reading through the README.md I see the the Based on my limit knowledge on this extension, one option might be to default to a single version of node on the system for the purpose of running this extension by taking advantage of the |
Would this option fix your issue? #490 |
Hi @jpierson-at-riis, we're using this extension with fnm, but my team are all on macOS. It may be a Windows path issue? We also use |
@mrmckeb, I would also guess that this issue is related to how the node executable is executed as a process and perhaps this is different for VSCode with the vitest-dev textension between Windows and MacOS. I would guess that on MacOS that you may be specifying the # Setup FNM
fnm env --use-on-cd | Out-String | Invoke-Expression
fnm --version |
@sheremet-va, it looks like by setting the new Thank you for the fix and also for alerting me of it above! 🍻 |
@sheremet-va , I can create a new issue perhaps but I had just noticed that while the
|
Feel free to open a new issue |
Describe the bug
I'm unable to use this extension in VSCode due to the extension not being able to find the node executable. In my environment I use fnm which is configured properly to run in all of my shells. Other plugins such as those for Jest and the VSCode debuger have had similar issues with version managers but normally there is a way to configure the extension to resolve the node path through a specific configuration.
Reproduction
winget install "Schniz.fnm"
)Output
Version
v1.2.18
Validations
The text was updated successfully, but these errors were encountered: