npm install安裝時一直idealTree:npm: sill idealTree buildDeps問題

慕容天白發表於2024-06-01

解決方案:

  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 夏小花花

相關文章