From 756a91642829600a949bf31eb0e76ad13b8fb94e Mon Sep 17 00:00:00 2001 From: "Michael Bradley, Jr" Date: Thu, 14 Feb 2019 01:05:33 -0600 Subject: [PATCH] build: specify a high network timeout in root .yarnc Yarn can be sensitive to timeouts when downloading large-ish packages that aren't in its cache, e.g. `@reactivex/rxjs`. Specify a high-timeout in the root `.yarnrc` to workaround `yarn install` hanging indefinitely and reporting network connection errors, which seems to be experienced more frequently on Windows than on Linux or macOS. Note: this is probably buggy behavior on yarn's part. --- .yarnrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.yarnrc b/.yarnrc index d3f273208..484d0fa4c 100644 --- a/.yarnrc +++ b/.yarnrc @@ -1,2 +1,3 @@ --*.scripts-prepend-node-path true --install.check-files true +--install.network-timeout 600000