Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请求registry.npm.xiaojukeji.com 失败 #520

Open
forget12345 opened this issue Feb 17, 2021 · 4 comments
Open

请求registry.npm.xiaojukeji.com 失败 #520

forget12345 opened this issue Feb 17, 2021 · 4 comments
Labels
bug Something isn't working

Comments

@forget12345
Copy link

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)]

运行环境信息

@forget12345 forget12345 added the bug Something isn't working label Feb 17, 2021
@fudx
Copy link

fudx commented May 22, 2021

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

@SolarTheCenter
Copy link

更换成滴滴的源
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'

@SolarTheCenter
Copy link

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

@baismall1983
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants