Closed Praveenrsm closed 6 months ago
I don't see anything wrong here. You ran nvm use 18
, which configured Node 18.19.1
. This is shown in the output of the debug command (Active Node.js Version: v18.19.1
).
nvm -v gives you the version of NVM for Windows. node -v gives you the version of Node.
It appears you're expecting nvm -v
to show the Node version.
After I gave nvm use different version it was taking the older version 1.1 version is this not a issue
On Wed, 27 Mar, 2024, 08:16 Corey Butler, @.***> wrote:
I don't see anything wrong here. You ran nvm use 18, which configured Node 18.19.1. This is shown in the output of the debug command (Active Node.js Version: v18.19.1).
nvm -v gives you the version of NVM for Windows. node -v gives you the version of Node.
It appears you're expecting nvm -v to show the Node version.
— Reply to this email directly, view it on GitHub https://github.com/coreybutler/nvm-windows/issues/1118#issuecomment-2021818103, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZCKV3V4GJUN5PRBCBA66ATY2IXIBAVCNFSM6AAAAABFIV6SFCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRRHAYTQMJQGM . You are receiving this because you authored the thread.Message ID: @.***>
I'm sorry, but I'm not following what the problem is here. This is the output you presented:
PS C:\nvm> nvm on
nvm enabled
Now using node v20.11.1 (64-bit)
PS C:\nvm> nvm use 18
Now using node v18.19.1 (64-bit)
PS C:\nvm> nvm -v
1.1.12
That is what I would expect for the commands you ran. However; I think you should be running these instead:
PS C:\nvm> nvm use 18
Now using node v18.19.1 (64-bit)
PS C:\nvm> node -v
v18.19.1
I don't really understand why you're running nvm -v
in the first place.
We don't ship an install.ps1 file (never have). You can't run more than one version of nvm.exe on a system at a time. It looks like you upgraded NVM4W to v1.1.12. Upgrades overwrite prior versions. Maybe that's what the install.ps1 you have does... but I have no idea because I didn't create that file.
I didn't ran nvm -v at first it was in last.after I change the version it was getting the older and the downloaded version was not changing to other versions.
On Wed, 27 Mar, 2024, 08:47 Corey Butler, @.***> wrote:
I'm sorry, but I'm not following what the problem is here. This is the output you presented:
PS C:\nvm> nvm on nvm enabled Now using node v20.11.1 (64-bit) PS C:\nvm> nvm use 18 Now using node v18.19.1 (64-bit) PS C:\nvm> nvm -v 1.1.12
That is what I would expect for the commands you ran. However; I think you should be running these instead:
PS C:\nvm> nvm use 18 Now using node v18.19.1 (64-bit) PS C:\nvm> node -v v18.19.1
I don't really understand why you're running nvm -v in the first place.
We don't ship an install.ps1 file (never have). You can't run more than one version of nvm.exe on a system at a time. It looks like you upgraded NVM4W to v1.1.12. Upgrades overwrite prior versions. Maybe that's what the install.ps1 you have does... but I have no idea because I didn't create that file.
— Reply to this email directly, view it on GitHub https://github.com/coreybutler/nvm-windows/issues/1118#issuecomment-2021849273, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZCKV3QBCD2BJE4E5S25IGDY2I26FAVCNFSM6AAAAABFIV6SFCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRRHA2DSMRXGM . You are receiving this because you authored the thread.Message ID: @.***>
What happened?
if i change the version it was getting sucess but if i check nvm -v it was getting the older version or if i clone this git https://github.com/coreybutler/nvm-windows.git install.ps1 file w as missing
What did you expect to happen?
the version want to change or install.ps1 file i want to get
Version
1.1.11 or newer (Default)
Which version of Windows?
No response
Which locale?
None
Which shell are you running NVM4W in?
No response
User Permissions?
Administrative Privileges, Elevated
Is Developer Mode enabled?
None
Relevant log/console output
Debug Output
Anything else?
no