【问题标题】:why npm hangs on installing packages? hanging on idealTree为什么 npm 挂在安装包上?挂在理想树上
【发布时间】:2022-10-15 12:49:42
【问题描述】:

我试图在反应应用程序中使用npm install,但它挂在 idealTree:myProject: sill idealTree buildDeps上我尝试了几件事:

1-重新安装节点

2-删除或添加package-lock.json

3-使用npm i registry.npmjs.org

4-npm cache clean --force

5-npm config set registry http://registry.npmjs.org/

我也试过npm install --verbose 和this is the result

除此之外,我什至无法运行 npx create-react-app myApp 并得到 this error 尽管我不使用 proxy 。所以我该怎么做?显然我现在不能使用任何 npm 包。

【问题讨论】:

    标签: node.js npm


    【解决方案1】:

    可能您的互联网连接速度很慢,请尝试使用快速网络,希望问题会得到解决。

    【讨论】:

    • 谢谢我的朋友,我现在唯一想不到的就是你说的
    猜你喜欢
    • 2019-10-21
    • 2017-04-13
    • 2018-02-28
    • 2021-11-08
    • 2013-05-28
    • 1970-01-01
    • 2011-11-26
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多