didi / chameleon

🦎 一套代码运行多端,一端所见即多端所见
http://cml.didi.cn/
Apache License 2.0
9.02k stars 692 forks source link

npm i -g chameleon-tool报错 #606

Open kindredPP opened 2 years ago

kindredPP commented 2 years ago

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'

问题截图

编译环境信息

运行环境信息

ctrai88 commented 2 years ago

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 ]

shnno13 commented 2 years ago

我用了node14的版本就可以了