cuyl / bazel-nodejs-groups-ouput

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bazel build //libs/... Not work

# files
libs/utils/BUILD.bazel
tools/rename.bzl
bazel build --define=ESBUILD=True //libs/utils:lib
Target //libs/utils:lib up-to-date:
  dist/bin/libs/utils/package.json
  dist/bin/libs/utils/index.js
  dist/bin/libs/utils/index.js.map
bazel build //libs/utils:lib
Target //libs/utils:lib up-to-date:
  dist/bin/libs/utils/package.json
  dist/bin/libs/utils/index.js
  dist/bin/libs/utils/index.js.map


bazel build --define=ESBUILD=True //libs/...
INFO: Invocation ID: b89e1b0b-0161-41f7-96c1-bd9ec66cc291
INFO: Build option --define has changed, discarding analysis cache.
ERROR: file 'libs/utils/index.js' is generated by these conflicting actions:
Label: //libs/utils:renamed-esbuild, //libs/utils:renamed-rollup
RuleClass: rename rule
Configuration: 4f6fa962db465b7a41f25489f67908e66349c004bd8506d38bde1f5fab273083
Mnemonic: TemplateExpand
Action key: c0a76e95eae56f1d466b43cac4fc428e044b1aea5a987535d63900fcb885b48a, 5c9e404bf175543cb50ed4cd6abc79b1b7b49fcd4a8f6fc9ced1038d62041062
Progress message: Expanding template libs/utils/index.js
PrimaryInput: File:[[<execution_root>]bazel-out/darwin-fastbuild/bin]libs/utils/esbuild.js, File:[[<execution_root>]bazel-out/darwin-fastbuild/bin]libs/utils/rollup.js
PrimaryOutput: File:[[<execution_root>]bazel-out/darwin-fastbuild/bin]libs/utils/index.js
ERROR: com.google.devtools.build.lib.skyframe.ArtifactConflictFinder$ConflictException: com.google.devtools.build.lib.actions.MutableActionGraph$ActionConflictException: for libs/utils/index.js, previous action: action 'Expanding template libs/utils/index.js', attempted action: action 'Expanding template libs/utils/index.js'
bazel build //libs/...

About


Languages

Language:Starlark 99.6%Language:JavaScript 0.4%