原因:目前设置的淘宝镜像地址是旧的地址,需要替换成新的。 npm cache clean --force npm config set registry https://registry.npmmirror.com