coreybutler/nvm-windows

Issue with special characters in user folder breaks installation of npm

Open

#887 建立於 2022年11月22日

在 GitHub 查看
 (10 留言) (1 反應) (0 負責人)Go (3,822 fork)batch import
help wanted

倉庫指標

Star
 (46,364 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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

貢獻者指南