npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\XHYH015\AppData\Local\npm

输入 npm -v 报错

在这里插入图片描述

  1. 执行 npm install npm@latest -g 升级到最新版本
  2. 执行 npm cache clean --force 清理缓存
  3. 再次查看 npm -v

原文

猜你喜欢

转载自blog.csdn.net/weixin_55552785/article/details/118856370