配置npm源的命令 npm config set registry https://registry.npmmirror.com get命令可查看npm源 npm config get registry 然后就成功了