When running npm install
to download dependencies, the following error occurred, the request failed.
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 an issue with the local proxy, so it was canceled.
npm config delete proxy
npm config delete https-proxy
npm install
ran successfully and completed.