When downloading dependencies with npm install
, the following error occurs, and the request fails.
npm ERR! FetchError: request to https://registry.npm.taobao.org/cnpm failed, reason: connect ECONNREFUSED 127.0.0.1:1181
After debugging, it was found to be a problem with the local proxy, so cancel it.
npm config delete proxy
npm config delete https-proxy
npm install
runs successfully, and it is complete.