nvm 安装npm 失败 提示 Rollback failed. remove D:\soft\nvm\temp\npm-v6.9.0.zip: The process cannot access the file because it is being used by another process. Could not download npm for node v12.2.0.

nvm 安装npm 失败 提示 Rollback failed. remove D:\soft\nvm\temp\npm-v6.9.0.zip: The process cannot access the file because it is being used by another process. Could not download npm for node v12.2.0.

解决: 单独下载一份npm,或者用nvm下载其他版本的node版本, 复制粘贴到nvm列表的对应版本里

注意:复制的过程中,node_modules中的npm文件夹要一起复制!

posted @ 2022-02-21 11:11  柯宝宝智商感人  阅读(2058)  评论(0编辑  收藏  举报