coreybutler/nvm-windows

Issue with special characters in user folder breaks installation of npm

Open

#887 aperta il 22 nov 2022

Vedi su GitHub
 (10 commenti) (1 reazione) (0 assegnatari)Go (3822 fork)batch import
help wanted

Metriche repository

Star
 (46.364 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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:

  1. Install windows-nvm
  2. Open "Windows Terminal"
  3. Run nvm install 16.18.1

Expected Behavior: Install of NPM version 16.18.1

Screenshots: image

Additional context image Folder structure with special characters

Desktop:

  • OS: Windows 11

Guida contributor