You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems like project references can only build from a clean workspace. Any non-exact future builds will fail
Error:
bazel build //examples/project_references/lib_a:lib_a
INFO: Build option --action_env has changed, discarding analysis cache.
INFO: Analyzed target //examples/project_references/lib_a:lib_a (2 packages loaded, 332 targets configured).
INFO: Found 1 target...
ERROR: /Users/ray/workspace/rules_ts/examples/project_references/lib_a/BUILD.bazel:15:11: output 'examples/project_references/lib_a/lib_a.tsbuildinfo' was not created
ERROR: /Users/ray/workspace/rules_ts/examples/project_references/lib_a/BUILD.bazel:15:11: Compiling TypeScript project //examples/project_references/lib_a:lib_a [tsc -p examples/project_references/lib_a/tsconfig.json] failed: not all outputs were created or valid
Target //examples/project_references/lib_a:lib_a failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 1.393s, Critical Path: 0.25s
INFO: 18 processes: 8 internal, 9 local, 1 worker.
FAILED: Build did NOT complete successfully
Repro steps:
git clone https://github.com/aspect-build/rules_ts cd rules_ts bazel build //examples/project_references/lib_a:lib_a # works bazel build //examples/project_references/lib_a:lib_a # works because caches are exact bazel build --action_env="avariable=1" //examples/project_references/lib_a:lib_a # force an unexact rebuild. Fails bazel build //examples/project_references/lib_a:lib_a # will now always fail too bazel clean bazel build //examples/project_references/lib_a:lib_a # works again
--verbose_failures shows no additional debug info
I'm using an M1 mac if that matters. I haven't ruled out that something else is wrong with my set up. Happy to gather more debug info if there's methods other than verbose_failures
The text was updated successfully, but these errors were encountered:
Thank you so much Sahin. Just wanted to kudo: between you, @gregmagolan , and @alexeagle , that I'm super impressed with how fast everyone at Aspect responds to and fixes issues
It seems like project references can only build from a clean workspace. Any non-exact future builds will fail
Error:
Repro steps:
git clone https://github.com/aspect-build/rules_ts
cd rules_ts
bazel build //examples/project_references/lib_a:lib_a # works
bazel build //examples/project_references/lib_a:lib_a # works because caches are exact
bazel build --action_env="avariable=1" //examples/project_references/lib_a:lib_a # force an unexact rebuild. Fails
bazel build //examples/project_references/lib_a:lib_a # will now always fail too
bazel clean
bazel build //examples/project_references/lib_a:lib_a # works again
--verbose_failures shows no additional debug info
I'm using an M1 mac if that matters. I haven't ruled out that something else is wrong with my set up. Happy to gather more debug info if there's methods other than verbose_failures
The text was updated successfully, but these errors were encountered: