npm i -g chameleon-tool报错

wd2eg0qa  于 2022-10-20  发布在  其他
关注(0)|答案(2)|浏览(198)

bug描述

执行npm i -g chameleon-tool报错
第一步无法使用;
镜像源使用的是淘宝镜像
npm镜像也无法使用

复现bug的步骤

➜ chameleon npm i -g chameleon-tool
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'

问题截图

编译环境信息

  • chameleon-tool 版本:[无]
  • nodejs版本、npm版本:[node v12.20.2、npm 8.3.0]
  • 电脑操作系统: [e.g. macOS Monterey 12.2.1 ]

运行环境信息

vom3gejh

vom3gejh1#

me too.
编译环境信息

chameleon-tool 版本:[无]
nodejs版本、npm版本:[node v16.13.1、npm 8.8.0]
电脑操作系统: [e.g. Linux centos7 3.10.0-1127.el7.x86_64 ]

zfciruhq

zfciruhq2#

我用了node14的版本就可以了

相关问题