直接安装cnpm导致无限索引,因此直接使用代理

  

方法一:

直接在当前用户文件夹下,npmrc 文件上直接设置代理:registry=https://registry.npm.taobao.org

方法二:

安装时临时指定代理:

npm install data_js --registry=https://registry.npm.taobao.org

全局配置:

npm config set registry https://registry.npm.taobao.org

npm config list ## 查看刚才的配置是否生效

最新文章

  1. [工作中的设计模式]解释器模式模式Interpreter
  2. Destoon B2B 调优SQL后 生成首页仍然慢或不成功的原因
  3. BZOJ1807 : [Ioi2007]Pairs 彼此能听得见的动物对数
  4. (转)Linux下用mkisofs制作光盘镜像ISO文件
  5. left join 、right join 、inner join和 full join的区别
  6. js中widow.open()方法详解
  7. 4pdf
  8. Dubbo源码学习--服务是如何引用的
  9. iOS 错误 之 Potential leak of an object stored into 'cs'
  10. AmpOne
  11. 笔记:Spring Cloud Hystrix 封装命令
  12. 小程序获取openid 出现null,{"errcode":40163,"errmsg":"code been used, hints: [ req_id: WNUzlA0105th41 ]"}
  13. IO的详细解释:It's all about buffers: zero-copy, mmap and Java NIO
  14. java学习笔记-连数据库JDBC
  15. 基于usb4java的usb通讯
  16. HDU 2586 How far away(dfs+邻接表)
  17. 7.6 GRASP原则六: 多态 Polymorphism
  18. Java_IO_文件的续写_小笔记
  19. Git的SSH-key生成、导入及使用
  20. JS 关于this p9

热门文章

  1. python学习笔记--python编程基础
  2. HUST-1407 郁闷的小J
  3. 【NOI2017】游戏
  4. centos7配置国内yum源
  5. Why do I keep getting mixed tabs and spaces in a Visual Studio C# code window?[vs power tools issue transfered]
  6. PHP文件函数
  7. Codeforces 919 B. Perfect Number
  8. Codeforces635C XOR Equation【数学】
  9. Codeforces 551E GukiZ and GukiZiana(分块思想)
  10. java保留n位小数