解决方法cmd执行
npm config set registry https://registry.npmjs.org/
为什么,参考此文档:https://blog.csdn.net/adc_god/article/details/77989869