#606·chameleon

npm i -g chameleon-tool报错

Author: kindredPPCreated Apr 22, 2022Updated Oct 18, 2022
Labelsbug

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 ]

运行环境信息