From 5e3bbf79a6c0c4bc3c121683f139158cd33d5fc8 Mon Sep 17 00:00:00 2001 From: Greg Magolan Date: Wed, 20 Mar 2019 16:39:33 -0400 Subject: [PATCH] build(bazel): add comment about advancing the version of yarn used under Bazel in the future (#29431) PR Close #29431 --- WORKSPACE | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/WORKSPACE b/WORKSPACE index 4e706a0171..51eb62a503 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -48,6 +48,14 @@ node_repositories( node_version = "10.9.0", package_json = ["//:package.json"], preserve_symlinks = True, + # yarn 1.13.0 under Bazel has a regression on Windows that causes build errors on rebuilds: + # ``` + # ERROR: Source forest creation failed: C:/.../fyuc5c3n/execroot/angular/external (Directory not empty) + # ``` + # See https://github.com/angular/angular/pull/29431 for more information. + # It possible that versions of yarn past 1.13.0 do not have this issue, however, before + # advancing this version we need to test manually on Windows that the above error does not + # happen as the issue is not caught by CI. yarn_version = "1.12.1", )