![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
nrm
前端一枚
点关注 不迷路
展开
-
React Native不使用cnpm,使用nrm工具切换淘宝源
注意:React Native不要使用 cnpm!cnpm 安装的模块路径比较奇怪,packager 不能正常识别! 需要使用nrm工具切换淘宝源 1、cnpm 方式(React Native不推荐使用): npm install -g cnpm --registry=https://registry.npm.taobao.org 2、单次安装使用: npm install XXX -S --registry=https://registry.npm.taobao.org 3、永久切换,手动原创 2022-05-05 00:27:57 · 670 阅读 · 0 评论 -
mac安装nrm时报错:please make sure that the network ‘proxy‘ config is set properly
XXXdeMacBook-Pro ~ % npm install -g nrm npm ERR! code ETIMEDOUT npm ERR! syscall connect npm ERR! errno ETIMEDOUT npm ERR! network request to http://10.106.161.233:14873/nrm failed, reason: connect ETIMEDOUT 10.106.161.233:14873 npm ERR! network This is a.原创 2022-05-04 23:57:24 · 718 阅读 · 0 评论