【无标题】

安装Node.js成功可查看node -v版本信息却查看不了npm -v
【无标题】_第1张图片
处理方式:查找c盘用户里的.npmrc文件,删除即可(我这里处理成功)
在这里插入图片描述
参考于https://blog.csdn.net/qq_50497708/article/details/125633745?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522166556535616800184117938%2522%252C%2522scm%2522%253A%252220140713.130102334.pc%255Fall.%2522%257D&request_id=166556535616800184117938&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2allfirst_rank_ecpm_v1~pc_rank_v39-1-125633745-null-null.142v53pc_rank_34_2,201v3control_2&utm_term=npm%20-v%E5%91%BD%E4%BB%A4%E7%A9%BA%E7%99%BD&spm=1018.2226.3001.4187

你可能感兴趣的:(c#)