国外镜像访问不到,切换到国内镜像就可以了

npm config set registry https://registry.npm.taobao.org