📜  错误发生意外错误:“https:registry.yarnpkg.com @material-ui 图标-icons-4.11.2.tgz:ESOCKETTIMEDOUT”. - 无论代码示例

📅  最后修改于: 2022-03-11 14:57:25.189000             🧑  作者: Mango

代码示例1
Adding this comment for other Googlers: What worked for me was increasing the Yarn network timeout:

yarn add YourPackageHere --network-timeout 100000 

Apparently the package I was installing was too large (or my network too slow) so it assumed it was a network problem. It might've been, but this solved it. Just took a while.