切换了镜像源但依旧还是之前的,需要移除项目中的 node_modules,重新下载依赖。可以通过 rimraf node_modules 移除:
node_modules
rimraf node_modules
重新下载依赖一切正常: