coreybutler/nvm-windows

Issue with special characters in user folder breaks installation of npm

Open

#887 创建于 2022年11月22日

在 GitHub 查看
 (10 评论) (1 反应) (0 负责人)Go (46,364 star) (3,822 fork)batch import
help wanted

描述

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

贡献者指南