coreybutler/nvm-windows

[Bug/Feature?]: pnpm leaves files in nodejs install dir, breaking nvm install

Open

#1,093 opened on 2024年1月18日

GitHub で見る
 (1 comment) (0 reactions) (0 assignees)Go (46,364 stars) (3,822 forks)batch import
consider for rtenhancement requesthelp wanted

説明

Description of the new feature / enhancement

Not sure if this is a bug or feature, but I had trouble installing nvm despite uninstalling npm because I forgot I had pnpm installed too, and it left a bunch of crap in C:\Program Files\nodejs folder. So the symlink failed and I was perplexed by nvm use not doing anything...

Suggestion: update readme to mention pnpm?

Suggestion: installer should warn about this? (nodejs existing causing symlink to fail)

Anyway, manually deleting nodejs install folder fixed this. (That's probably not how you should uninstall pnpm, but that's a problem for future me...)

Scenario when this would be used?

Upon installing, so the install actually works...

Supporting information

No response

コントリビューターガイド