配置es head 安装grunt-lic时淘宝镜像老是安装不上,request to https://registry.npm.taobao.org/grunt-cli failed

问题遇到的现象和发生背景

linux es集群配置head

问题相关代码,请勿粘贴截图

npm ERR! code ENOTFOUND
npm ERR! errno ENOTFOUND
npm ERR! network request to https://registry.npm.taobao.org/grunt-cli failed, reason: getaddrinfo ENOTFOUND registry.npm.taobao.org
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly. See: 'npm help config'

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2022-03-07T09_07_33_021Z-debug.log

运行结果及报错内容

img

我的解答思路和尝试过的方法
我想要达到的结果