coreybutler/nvm-windows

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

开放

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

 (1 条评论) (0 个反应) (0 位负责人)Go (3,822 个派生)batch import
consider for rtenhancement requesthelp wanted

仓库指标

星标
 (46,364 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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

贡献者指南