Replies: 5 comments 4 replies
-
Did you try to remove by hand your previous symlink? It wasn't working for me too when symlink was pointing to non-existent folder. After removing the symlink, |
Beta Was this translation helpful? Give feedback.
-
Please run |
Beta Was this translation helpful? Give feedback.
-
Done that :
https://github.com/Kochise/win_portable/tree/master/Coding/nvm/nvm_cmd.bat loads it into a temporary session's environment variables (to keep it portable). Same for https://github.com/Kochise/win_portable/blob/master/Document/texmaker/texmaker.bat Then of course https://github.com/wenuam/wm_doc_latex as well. I'm indeed a bit dubious about the Anyway, while the problem probably lies on my side, could you yet avoid the "symlink" stuff and make the use of any installed version more "straightforward" ? I mean, opening a terminal, typing Especially due to the changes and evolution with subsequent Regards. |
Beta Was this translation helpful? Give feedback.
-
Hmm, the debug tool needs to account for the cmd.exe in Windows 10. Unfortunately, shell detection on Windows has to use the title of the open window to determine which shell is running. In this case, the problem indicating the shell isn't supported is a false positive, but the symlink problem is valid. I really don't know what's going on with this environment because it seems like you have quite a few customizations. The original post mentioned having admin rights, but the debug contradicts this. The settings file is supposed to exist in the NVM root, but your configuration has it on a different drive. If no symlink exists, then Node won't be found when attempting to use it. The list will still have it, because it's not reading the symlink when it looks for versions. It looks in the NVM_HOME path. While it would be possible to change an environment variable as you suggested, the As for running a batch file, that isn't practical in enterprise environments because you can't code-sign a batch file without corrupting it. No code signing means the program will typically be blocked and is often flagged by antivirus. Your last comment doesn't really make sense to me, because the NVM folder structure doesn't change (unless you're referring to new Node installations). NVM4W stores all installed versions in the The core premise of this project is to maintain a system-wide version, not per shell. You can still technically use a different version if you want by specifying it directly, as mentioned here. If you're coming from nvm-sh, which is per shell, this may feel verbose. It's something I've taken into consideration. It will not be added to NVM4W, but there are plans to accommodate this scenario in Runtime. I've been able to verify the |
Beta Was this translation helpful? Give feedback.
-
Hi, thank for having looked into the issue. While I do have admin right over the machine, I avoid using it since you provide elevation tricks already. I avoid changing the system' That limit the risks, and you can perform as many checks as you want before making any change, even though they won't put the system in jeopardy. About the folder structure, yeah, I meant As I told you, nothing prevents you to create a Yes the buddies will have to launch their soft by hand from within this per-session configured terminal, but at least you'll get rid of the elevation problems, folder access rights, symlink issues, code signing things, system The best would be to add some tricks to the generated I did this with https://github.com/wenuam/wm_lng_python/blob/main/pyrun.bat#L74 You can also detect the input parameter I did this with https://github.com/wenuam/wm_doc_latex/blob/main/pdflatex_compile.bat#L49 Hence you just have to drag'n drop your Really, you should think in a more "portable" way to avoid changing the user's machine settings, especially in an enterprise environment. While not perfect (far from it) the Regards. |
Beta Was this translation helpful? Give feedback.
-
Issue:
Installation on Windows
How To Reproduce:
Expected Behavior:
Nvm installed
Windows 10 22H2, admin rights
Beta Was this translation helpful? Give feedback.
All reactions