方法一 切换淘宝源
设置
npm config set registry https://registry.npm.taobao.org
检查是否切换成功
npm config get registry
方法二
npm set strict-ssl false
检查是否设置成功
npm get strict-ssl
方法一 切换淘宝源
设置
npm config set registry https://registry.npm.taobao.org
检查是否切换成功
npm config get registry
方法二
npm set strict-ssl false
检查是否设置成功
npm get strict-ssl