-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Issue with special characters in user folder breaks installation of npm #887
Comments
A fix seems to be to correct the |
Hi @coreybutler Yes it is version 1.1.10. As I wrote in my comment you can get around this error by editing the settings.txt file. So the error originates from an (probably) encoding error when the settings.txt file is written. Issue #726 could seem related, but I had no problems envoking nvm-windows, just with installing npm due to special characters in my Windows user name. As to #821 I do not know. Hope this helps |
I have the same issue:
I change the encoding of settings.txt from ANSI to UTF-8, fix the accent on my name, and now nvm install works fine, but not nvm use :
I am on Windows 11 with mvn 1.1.10 |
Same problem here, but user contains a few period+space sequences, thusly: c:\users\dr. dennis w. neder\ ... resulting in:
exit status 1: 'C:\Users\Dr.' is not recognized as an internal or external command, Note: root: ":\Users\Dr. Dennis W. Neder\AppData\Roaming\nvm" to no avail. Oh, and using Win 11 with nvm vers. 1.1.11 |
Same as @dwneder I have a space in the name. Same message (except for the Dr. part, that's not my name 😄) |
Issue:
In Windows Terminal (both with Powershell 11 and cmd) fail to install npm if the path C:\Users<UserFolder>\AppData\Roaming\nvm contains special characters
Example
C:\Users\JakubN�rl�vIwanczuk\AppData\Roaming\nvm
I have installed other software in the personal folder without any issue.
How To Reproduce:
nvm install 16.18.1
Expected Behavior:
Install of NPM version 16.18.1
Screenshots:
Additional context
Folder structure with special characters
Desktop:
The text was updated successfully, but these errors were encountered: