Error an unexpected error occurred:“ https://registry.npm.taobao.orgnpm/element-ui : get

Error an unexpected error occurred:“ https://registry.npm.taobao.orgnpm/element-ui : getaddrinfo ENOTFOUND registry.npm.taobao .orgnpm registry.npm.taobao . orgnpm:443 ”.

This is because the network is not good, resulting in download dependent packet request overrun error, change the download address.

Solution: Step 1. Set the request address to Taobao source

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

Step 2. Set the node sass image source

yarn config set sass-binary-site http://npm.taobao.org/mirrors/node-sass

Step 3. Download
again

Read More: