npm install安装时一直idealTree:npm: sill idealTree buildDeps问题

解决方案:

  1. 采用新的镜像地址,进入cmd之后输入:
  2. npm 命令:
  3. npm config set registry https://registry.npmmirror.com

    yarn命令:

  4. yarn config set registry https://registry.npmmirror.com

    查看配置是完成

  5. npm config get registry
    
    yarn config get registry
  6. 参考:https://blog.csdn.net/xiaohua616/article/details/137021906  夏小花花

     
posted @ 2024-06-01 08:35  慕容天白  阅读(165)  评论(0编辑  收藏  举报