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", )