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 1.4k 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

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post