安装cnpm淘宝镜像过程报错
发布日期:2021-05-10 11:39:24 浏览次数:17 分类:精选文章

本文共 1689 字,大约阅读时间需要 5 分钟。

������������cnpm���������������������

������������������������������cnpm������������������������������������������������������������������������������������������������

  • ������������cnpm������������ ���������������������������npm ERROR���

    npm install -g cnpm --registry=https://registry.npm.taobao.org

    ���������������������

    npm WARN deprecated request@2.88.2: request has been deprecated,...
    npm ERROR Refusing to delete...

    ������������������������������������������������������������������������

  • ������npm������

    • ������������������������������
      npm config get registry

      ���������������������������������������������������������������������������������������������

  • ������������������ ������������������nrm���������������������

    npm install -g nrm

    ������������������������

    nrm taobao
  • ���������������npm������ ������������������������������������npm���������������

    npm config delete registry
    npm config set registry https://registry.npm.taobao.org
    npm cache clean -f

    ������������������������������������������������������������

  • ������������������������������cnpm ������������������npm install���������������������������������������nrm���������cnpm���

    npm install -g cnpm

    ������������������������������������������������������������

    npm install -g cnpm --registry=https://registry.npm.taobao.org
  • ������������������ ������������������������������������������������������������������

    mv ~/.npm ~/.npm.bak

    ���������������������������npm������������������������������������������������������������

  • ������������������ ���������������������������������CMD������������������������������������������������������������������������������cnpm������������������������������������������������������������������

  • 上一篇:mpvue小程序中使用i-drawer组件
    下一篇:span标签有汉字字符不能同行问题、icon和字符串不能垂直居中问题

    发表评论

    最新留言

    第一次来,支持一个
    [***.219.124.196]2025年04月24日 21时16分34秒