coreybutler/nvm-windows

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

Open

#1,093 创建于 2024年1月18日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)Go (46,364 star) (3,822 fork)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

贡献者指南