diff --git a/internal/npm_install/npm_install.bzl b/internal/npm_install/npm_install.bzl index b2ae33529e..17d21b7c53 100644 --- a/internal/npm_install/npm_install.bzl +++ b/internal/npm_install/npm_install.bzl @@ -131,7 +131,7 @@ def _create_build_files(repository_ctx, rule_type, node, lock_file): str(repository_ctx.attr.strict_visibility), ",".join(repository_ctx.attr.included_files), native.bazel_version, - ]) + ], timeout = 1200) # double the default timeout in case of many packages, see #2231 if result.return_code: fail("generate_build_file.ts failed: \nSTDOUT:\n%s\nSTDERR:\n%s" % (result.stdout, result.stderr))