Code Monkey home page Code Monkey logo

Comments (31)

g0t4 avatar g0t4 commented on May 16, 2024 66

FYI, if you had node installed before, delete C:\Program Files\nodejs and nvm windows will create the symlink

from nvm-windows.

vkbansal avatar vkbansal commented on May 16, 2024 17

Can you try this:

  1. Right-Click Start Button.
  2. Choose Command Prompt (Admin) and try nvm use

from nvm-windows.

stramel avatar stramel commented on May 16, 2024 17

I got this to work by deleting the NVM_SYMLINK path that existed and running nvm use 0.12.6 again.

from nvm-windows.

moshest avatar moshest commented on May 16, 2024 1

same problem for me.

from nvm-windows.

vkbansal avatar vkbansal commented on May 16, 2024

Changing node versions requires admin rights. Have you tried with elevated command prompt?

from nvm-windows.

avevlad avatar avevlad commented on May 16, 2024

@vkbansal Yes, I changing node versions the administrator, will soon record video

from nvm-windows.

vkbansal avatar vkbansal commented on May 16, 2024

Which version of Windows are you using?

from nvm-windows.

avevlad avatar avevlad commented on May 16, 2024

@vkbansal 8.1

from nvm-windows.

avevlad avatar avevlad commented on May 16, 2024

video -> http://www.youtube.com/watch?v=L9rSo6e32yM

my %PATH%

C:\ProgramData\Oracle\Java\javapath
C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common
C:\tools\ruby213\bin
C:\Windows\system32
C:\Windows
C:\Windows\System32\Wbem
C:\Windows\System32\WindowsPowerShell\v1.0\
C:\Program Files (x86)\Git\cmd
C:\Program Files\Java\jdk1.8.0_25\bin
C:\Program Files (x86)\scala\bin
C:\Users\Vlad\AppData\Roaming\npm
C:\ProgramData\chocolatey\bin
C:\tools\cygwin\bin
C:\gradle-2.1\bin
C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Tool kit\
C:\Program Files\Microsoft SQL Server\110\Tools\Binn\
C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0\
C:\Program Files (x86)\GNU\GnuPG\pub
C:\Program Files\OpenVPN\bin
C:\xampp\php
C:\ProgramData\ComposerSetup\bin
C:\HashiCorp\Vagrant\bin
C:\Users\Vlad\AppData\Roaming\nvm
C:\Program Files\nodejs
C:\Users\Vla d\AppData\Roaming\nvm
C:\Program Files\nodejs

from nvm-windows.

vkbansal avatar vkbansal commented on May 16, 2024

I've seen your video

when you run nvm use 0.11.14
it says node v0.11.14 (64-bit) is not installed

So I think your problem that you have 32-bit versions of node installed

try nvm use 0.11.14 32 or nvm install 0.11.14 64

from nvm-windows.

avevlad avatar avevlad commented on May 16, 2024

@vkbansal http://www.youtube.com/watch?v=otGOdMz-JXg

from nvm-windows.

vkbansal avatar vkbansal commented on May 16, 2024

That seems an odd bug. I'm able to run everything fine

capture

maybe @coreybutler will be able to comment

from nvm-windows.

avevlad avatar avevlad commented on May 16, 2024

@vkbansal ok waiting

from nvm-windows.

coreybutler avatar coreybutler commented on May 16, 2024

Did you use the installer to install NVM?

If you type echo %NVM_HOME% and echo %NVM_SYMLINK%, what shows up?

from nvm-windows.

avevlad avatar avevlad commented on May 16, 2024

@coreybutler yes

C:\Windows\system32>echo %NVM_HOME%
C:\Users\Vlad\AppData\Roaming\nvm

C:\Windows\system32>echo %NVM_SYMLINK%
C:\Program Files\nodejs

from nvm-windows.

coreybutler avatar coreybutler commented on May 16, 2024

Does %NVM_HOME%\v0.11.11\node.exe -v show the proper version? How about %NVM_HOME%\v0.11.11\node32.exe -v and %NVM_HOME%\v0.11.11\node64.exe -v

There are three areas I can think of that could be causing the issue. The symlink may not be updating properly, but that's hard to tell from what we can see. The other possibility is the use function may be aborting without an error before the symlink is updated, which I should be able to determine by your response to the above question. The final area is perhaps there is something with the Russian version of Windows that NVM isn't accounting for.... but the first two issues seem more likely.

from nvm-windows.

avevlad avatar avevlad commented on May 16, 2024

@coreybutler install https://github.com/marcelklehr/nodist, work πŸ˜ƒ

Thanks for support! πŸ‘

from nvm-windows.

coreybutler avatar coreybutler commented on May 16, 2024

Obviously you're welcome to use nodist, but this isn't a fix, so I'm reopening this.

from nvm-windows.

vkbansal avatar vkbansal commented on May 16, 2024

@avevlad It would be great, If you could help @coreybutler in fixing this bug.

from nvm-windows.

avevlad avatar avevlad commented on May 16, 2024

@coreybutler @vkbansal go skype and share screen teamviewer

from nvm-windows.

avevlad avatar avevlad commented on May 16, 2024

@coreybutler @vkbansal skype or hangouts

from nvm-windows.

romualdr avatar romualdr commented on May 16, 2024

I guess this issue is related to #37 !

from nvm-windows.

butlersrepos avatar butlersrepos commented on May 16, 2024

I had this issue on Win7 and tl;dr is that I had chosen my symlinks directory as a folder with my original installation of NodeJS and when I emptied that folder out and ran nvm use 0.12.1 then it populated the folder and everything worked as expected for me.

T:\Development
Ξ» echo %NVM_HOME%
C:\Users\butlersrepos\AppData\Roaming\nvm

T:\Development
Ξ» echo %NVM_SYMLINK%
T:\development\nodejs

from nvm-windows.

estvmachine avatar estvmachine commented on May 16, 2024

Ok delete NVM_SYMLINK path that existed and running nvm use 0.x.x works for me too πŸ‘

from nvm-windows.

duc-nguyen-locm avatar duc-nguyen-locm commented on May 16, 2024

For me, there was a path to the old version in the PATH environment setting. After removing the old from the PATH setting everything works.

from nvm-windows.

mcphelan avatar mcphelan commented on May 16, 2024

I was getting this when trying to install new version

C:\WINDOWS\system32>nvm install 6.4.0

Could not retrieve https://raw.githubusercontent.com/coreybutler/nodedistro/master/nodeversions.json.

Get https://raw.githubusercontent.com/coreybutler/nodedistro/master/nodeversions.json: EOF

Tested the URL in browser and would not load with SSL exception.

Fix:
I updated my Asus router's Frimware and url was accessible in browser and nvm install command started to work.

I had suspect it was network related as command worked on works network, note home network does not use proxy.

If you are getting this exception ensure you can access the url in a browser 1st, before you start changing your Path.

from nvm-windows.

UltimateTechDeveloper avatar UltimateTechDeveloper commented on May 16, 2024

I did what g0t4 advsed and deleted the content in the folder c:\program files\nodejs
I used the command nvm user 4.6.0 and this time it worked.
This was done on a windows 7 enterprise, 64bit

from nvm-windows.

altanai avatar altanai commented on May 16, 2024

Same problem . Trying to update node version from 4.5.0 to 5.0.0

Removed symlink as suggested in above posts $ export NVM_SYMLINK=
Then have nvm use command $ nvm use 5.0.0
Now using node v5.0.0 (64-bit)

Checked Node version it was still 4.5 instead of 5.0.0 $ node -v
v4.5.0

Even tried uninstall , which gave an error
$ nvm uninstall 4.5.0
Uninstalling node v4.5.0...Error removing node v4.5.0
Manually remove C:\Users\techmadmin\AppData\Roaming\nvm\v4.5.0.

Still the nvm list command shows im using node 4.5.0 insted of 5.0.0
$ nvm list
7.6.0
5.0.0

  • 4.5.0 (Currently using 64-bit executable)

from nvm-windows.

 avatar commented on May 16, 2024

try to start with a new fresh instalation of NVM, as the documentation say, if you have a previous version of node installed on your PC, erase it and install it again using NVM.

"C:\Program Files\nodejs" and "C:\Users\AppData\Roaming\npm" directories must be erased before install Node versions

from nvm-windows.

answer-huang avatar answer-huang commented on May 16, 2024

Pls check your system's environment variable path, if you installed node manually, it will add path to your system's path, this may cover your nvm's path.

from nvm-windows.

coreybutler avatar coreybutler commented on May 16, 2024

Closing this for the following reasons:

  1. It's documented that prior editions of Node should be removed before installing NVM4W.
  2. The installer now attempts to remove a prior version of Node whenever possible.
  3. This issue was originally filed before the Node Foundation released a proper JSON list of available versions. The prior edition was using the hacked nodeversions.json file I maintained (which was just scraping Node's release list for versions).
  4. This thread is getting clouded with multiple issues (such as permissions).

If anyone still experiences these issues with v1.1.7 or later, please open a new issue.

from nvm-windows.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.