-
Notifications
You must be signed in to change notification settings - Fork 514
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
Does not put node on path in Windows PowerShell? #1379
Comments
+1 for this issue |
+1 for this issue On Windows 11,with Windows PowerShell 5.1, on Windows 11 with PowerShell 7.5.0. |
+1 |
Y'all, just add thumbs to the original issue above. |
As a good developer you should using stackoverflow > github issue. |
Well, we have e2e tests that ensure that PowerShell works reliably, so let's try to debug what's wrong in the setup. Setting up is unfortunately not that easy as I would want it to. can you share the $ echo $PATH
# will show us whether you have FNM in the PATH env var
$ env | grep FNM_
will print out the fnm configuration coming from `fnm env`
$ ls $FNM_MULTISHELL_PATH
# here you will see the currently used Node.js |
@Schniz thanks, is this useful?
One thing I notice, is that when I log out all of the env vars using just
And when I run
Note, there is no |
At first I also encountered the same problem and I tried adding path of node.exe to os path and solved. However, I could not solve the same for npm. |
Everyone starts from zero, but it's wonderful if you know how to use StackOverflow instead of GitHub Issues. Solution in Stackoverflow |
Thanks for the condescension, but this There are docs for adding some lines to the profile to achieve completions (it's at least under the "##Completions" heading). Maybe that step is required for using fnm at all with PowerShell? If so, it seems like it should be mentioned higher in the installation steps, and also included in the instructions in https://nodejs.org/en/download. By creating an issue, I'm alerting the maintainer that there is a problem, or at the very least some friction, which users are experiencing that they can choose to then address or not. |
I've followed the instructions on the node.js installation page for windows, but
node
is not available.Am I missing something?
(I am using Windows 11 in Parallels from my mac, in case that matters)
And yes, I closed and re-opened the shell several times, and also tried running as administrator.
The text was updated successfully, but these errors were encountered: