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:
- Command failed: NPM install — loglevel error — registry= https://registry.npm.taobao.org
- Error an unexpected error occurred: * * * etimedout
- docker: Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request canceled
- Solve Linux docker pull error get https://registry-1.docker.io/v2/ : Net / http: TLS handshake timeout
- PHP function file_ get_ Contents() reports an error when using HTTPS protocol: SSL operation failed
- The sharepoint2010 site cannot open a solution that displays an “an unexpected error has occurred” error
- NPM installØin sprintf- [email protected] Wealth: not available https://github.com/nhn/raphael.git/ “
- Anaconda opens Navigator to report an error and a web page appears Navigator Error An unexpected error occurred on Navigator start-up Report
- An error occurred trying to connect: get http: / / var / run/ docker.sock/v1 .21/containers/json?all
- Warning: failed to get default registry endpoint from daemon
- Error response from daemon: Get https://20.0.0.100/v2/: dial tcp 20.0.0.100:443: connect: connection
- Wrong installation of registry to registry
- npm ERR! registry error parsing json error report solution
- An I/O operation initiated by the Registry failed unrecoverably
- NPM run serve reported an error “NPM err! Missing script: start”
- How to Solve apt get update problem: usr/lib/apt/methods/HTTPS could not be found_PUBKEY 7EA0A9C3F273FCD8
- Solve the unmarshalling error: unexpected element (URI: “local:” name “). Expected elements are
- Solve win10 docker:error during connect: Get https://192.168.99.100 : 2376 and error checking TLS connection
- NPM installs dependent packages and reports an error node gyp rebuild… Solution
- javax.xml.ws.soap.SOAPFaultException: Unmarshalling Error: unexpected element