coreybutler/nvm-windows

Issue with special characters in user folder breaks installation of npm

Open

#887 opened on Nov 22, 2022

View on GitHub
 (10 comments) (1 reaction) (0 assignees)Go (3,822 forks)batch import
help wanted

Repository metrics

Stars
 (46,364 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

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

Contributor guide