XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    XO Sources Build - Yarn ESOCKETTIMEDOUT ?

    Scheduled Pinned Locked Moved Solved Xen Orchestra
    2 Posts 1 Posters 946 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DustyArmstrongD Offline
      DustyArmstrong
      last edited by

      Hi,

      Just wondering if anyone else has ever seen this. I don't have any network problems at all, I can wget that package no problem, my DNS is fine, there are no network problems present, it's only this.

      [2/5] Resolving packages...
      [3/5] Fetching packages...
      info There appears to be trouble with your network connection. Retrying...
      warning url-loader@1.1.2: Invalid bin field for "url-loader".
      info There appears to be trouble with your network connection. Retrying...
      info There appears to be trouble with your network connection. Retrying...
      info There appears to be trouble with your network connection. Retrying...
      info There appears to be trouble with your network connection. Retrying...
      error An unexpected error occurred: "https://registry.yarnpkg.com/rxjs/-/rxjs-6.6.7.tgz: ESOCKETTIMEDOUT".
      info If you think this is a bug, please open a bug report with the information provided in "/app/xen-orchestra/yarn-error.log".
      info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
      

      Is there anything I can do here? I don't get it.

      Thanks.

      DustyArmstrongD 1 Reply Last reply Reply Quote 0
      • DustyArmstrongD Offline
        DustyArmstrong @DustyArmstrong
        last edited by

        I fixed it by running the following:

        yarn cache clean
        yarn --network-timeout 10000000
        
        1 Reply Last reply Reply Quote 0
        • First post
          Last post