You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

构建并安装本地Chainlink节点时出现ESOCKETTIMEDOUT错误

That ESOCKETTIMEDOUT error you're hitting is a classic npm network timeout issue—npm can't reach the registry to pull down the @material-ui/icons@4.5.1 package. Here are practical, actionable steps to resolve this:

  • Clear npm's cached data first
    Corrupted cache might be causing unexpected hangs. Wipe it clean with this command:

    npm cache clean --force
    
  • Switch to a faster npm registry
    The default npm registry can be slow or unstable depending on your network. Try using a reliable mirror to speed things up:

    npm config set registry https://registry.npmmirror.com/
    

    If you don't want to set it globally, pass the registry directly when running make install:

    npm_config_registry=https://registry.npmmirror.com/ make install
    
  • Increase npm's timeout thresholds
    Give npm more time to retry fetching packages by adjusting these config values:

    npm config set fetch-retry-mintimeout 20000  # Minimum 20s before retry
    npm config set fetch-retry-maxtimeout 120000 # Maximum 2min before giving up
    
  • Manually download the problematic package
    If switching registries doesn't work, grab the package directly and place it in npm's cache:

    1. Find your npm cache directory with:
      npm config get cache
      
    2. Download the icons-4.5.1.tgz file to your local machine
    3. Attempt a quick make install once to let npm create the necessary cache subdirectories, then replace the partial/failed file with your downloaded copy
    4. Re-run make install—npm will use the cached package instead of trying to download it again
  • Verify your network connection
    Test if you can reach the package URL directly with:

    curl -v https://registry.npmjs.org/@material-ui/icons/-/icons-4.5.1.tgz
    

    If this times out too, try switching networks (e.g., wired instead of Wi-Fi) or configuring a proxy if you're behind a corporate firewall.

After trying any of these steps, re-run make install and the timeout issue should be resolved.

内容的提问来源于stack exchange,提问作者sourabh yadav

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.29 15:29:05