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
No symlink created after nvm use
#58
Comments
Encoutered same bug today. Fixed it deleting trailing nodejs folder after nodejs uninstall (under program files), opening cmd as an administrator and running |
The weird thing is, I didn't have trailing nodejs folder after I uninstalled it (checked with everything), and I did try running cmd as an administrator. |
This happened to me when a colleague installed If you are able to use the We found that |
Same issue, deleting the contents of nodejs folder from my previous node install fixed it. I assume there may just be something in it that was failing for lack of a permission? |
We've just been fighting with nvm for the last two hours and it turned out we just needed to run' |
@metasean No problem buddy. I'm glad that I was able to help 😄 |
I have the same issue. nvm is able to download and install any version of node but I can do all the I manually tried to execute the command to create a symlink using admin rights: The system said: Following this link: http://superuser.com/a/125981 Am I missing something? |
@Kylir; if you can't change security polocies, try launching an elevated command prompt instead (aka: "Start" > type "cmd" > right-click and "run as administrator"). |
FWIW, for me @whitneyit's suggestion to "run |
Thanks @whitneyit . You made my day! I've spend long hours trying to fix it and your solution was almost magic! |
I have to remove existing nodejs folder "C:\Program Files\nodejs" and create symlink manually to make it work, in my case the command is: update: From this post on using symlink there is a contraint that you need to be aware of: "If you're symlinking a directory, it's important that there not be a directory or file with the same name". Even though we uninstall old nodejs installation, if the folder still exist so it can stop nvm to create symlink. The bad thing is that nvm does not show any error or warning |
Same issue:
|
Same issue on my Win 10 Home 64 bit deleting the folder fixed it
but i have some problems with npm:
the node_modules folder is empty. Obviously EDIT: I solved it by downloading manually the zip of the release of node 4.7.2 and put its node_modules folder into C:\Program Files\nodejs\node_modules That means every time i install a node version i should download manually the node_modules folder related to that node version. That's rude! |
Thank you all for this. Ran into the same issue, was trying to make the symlink where my old node install was, and I didn't realize that the uninstaller had left some python dependencies behind... |
I don't have an old node install to remove, running as administrator but I'm still getting the same problem as those above. I saved it in a non-standard directory, but the symlink's fine as far as I can tell. # created by me
λ echo %PATH% | tr ; '\n'
D:\Program Files HDD\cmder\bin
D:\Program Files HDD\cmder\vendor\git-for-windows\cmd
D:\Program Files HDD\cmder\vendor\conemu-maximus5\ConEmu\Scripts
D:\Program Files HDD\cmder\vendor\conemu-maximus5
D:\Program Files HDD\cmder\vendor\conemu-maximus5\ConEmu
E:\Programs\nvm
E:\Programs\nvm # assuming this is coming from NVM_SYMLINK and NVM_HOME
D:\Program Files HDD\cmder\vendor\git-for-windows\usr\bin
D:\Program Files HDD\cmder\vendor\git-for-windows\usr\share\vim\vim74
D:\Program Files HDD\cmder\ |
@astoellis - I know it says it's using v6.9.5, but you may want to try |
Thanks @coreybutler I'll check that out right now. |
Yup, you were on the 💰 . Dammit cmder. |
I resolved this problem by unistall all nvm, node.js, npm related things, then reinstall nvm executed 'nvm on' and install node , now it's fine |
Using cmd.exe to execute |
if we select path in setup that is obvious exists but actually for symlink it shouldn't so need to delete nodejs folder and nvm use again. I have made troubleshooting steps. Hope it helps. |
Had uninstall node install in windows through .msi file. but npm is not working |
Slightly related issue - In case you specify a folder - that will contain the symlink - that doesn't exist, nvm will appear to work but fails silently. So e.g. if you specify c:\dev\nodejs_nvm within which the nodejs link will be create. You must create nodejs_nvm folder, nvm will not do it for you. If you don't create nvm will fail silently |
I'm having the same issue.
I verified both paths exist in System vars. I tried this process a few times, each time verifying there were no remaining nodejs or npm folders anywhere before installing nvm. Any ideas? |
And I got
So I went to check
%NVM_SYMLINK%
, there was just onenode_modules
folder. I searched the disk for node.exe and found my node installed underC:\Users\Joyee\AppData\Roaming\nvm\version
, but there weren't any symbol links anywhere else. I tried to run cmd as administrator, but it didn't help.I'm using Windows 8 64bit and I've uninstalled node before installing nvm. I just installed nvm today so the installer is the latest one.
Edit: One more weird thing:
There aren't any "in use" versions.
The text was updated successfully, but these errors were encountered: