【发布时间】: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 包。
【问题讨论】: