chameleon 请求registry.npm.xiaojukeji.com 失败

wbgh16ku  于 2021-12-01  发布在  Java
关注(0)|答案(4)|浏览(492)

bug描述

描述出现的问题
请求通:http://registry.npm.xiaojukeji.com/circular-dependency-plugin/download/circular-dependency-plugin-4.4.0.tgz

复现bug的步骤

  1. 执行npm i -g chameleon-tool
    2.问题
    npm ERR! code ENOTFOUND
    npm ERR! syscall getaddrinfo
    npm ERR! errno ENOTFOUND
    npm ERR! network request to http://registry.npm.xiaojukeji.com/circular-dependency-plugin/download/circular-dependency-plugin-4.4.0.tgz failed, reason: getaddrinfo ENOTFOUND registry.npm.xiaojukeji.com
    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:

问题截图

编译环境信息

  • chameleon-tool 版本:最新版本
  • nodejs版本、npm版本:[node v15.8.0、npm 7.5.1]
  • 电脑操作系统: [e.g. macOS big sur 11.2 (20D64)]

运行环境信息

q35jwt9p

q35jwt9p1#

使用cml 最好使用滴滴的源 你试试这个
npm set registry http://npm.intra.xiaojukeji.com

zf9nrax1

zf9nrax12#

更换成滴滴的源
npm set registry http://npm.intra.xiaojukeji.com
之后 再次安装直接报错(淘宝的源还会装一会儿包,然后报1楼那个错):
npm i -g chameleon-tool
npm ERR! code ENOTFOUND
npm ERR! syscall getaddrinfo
npm ERR! errno ENOTFOUND
npm ERR! network request to http://npm.intra.xiaojukeji.com/chameleon-tool failed, reason: getaddrinfo ENOTFOUND npm.intra.xiaojukeji.com
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'

3okqufwl

3okqufwl3#

registry.npm.xiaojukeji.com
npm.intra.xiaojukeji.com
这两个域名均无法解析,本地ping和网页端DNS查询,都没有对应的域名和解析地址

6ioyuze2

6ioyuze24#

请问这个问题有人有解决方法么?尝试独立安装 这个包circular-dependency-plugin-4.4.0,在安装这个工具也不行。

相关问题