Skip to content

ERROR: no such target 'bazel_sequencer.cjs' not declared in package 'jest/private' #634

@satyanandak

Description

@satyanandak

CI: https://buildkite.com/bazel/bazel-bazel-examples/builds/4706#019992d6-8953-4ccf-abe9-2ca867f23171

Platform: MacOS, Linux

Logs:

(00:20:59) ERROR: /var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/35a07be9248b2971a5f99210ada8127b/external/aspect_rules_jest+/jest/private/BUILD.bazel:11:1: name 'sh_binary' is not defined (did you mean 'cc_binary'?)
(00:20:59) ERROR: /var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/35a07be9248b2971a5f99210ada8127b/external/aspect_rules_jest+/jest/private/BUILD.bazel: no such target '@@aspect_rules_jest+//jest/private:bazel_sequencer.cjs': target 'bazel_sequencer.cjs' not declared in package 'jest/private' defined by /var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/35a07be9248b2971a5f99210ada8127b/external/aspect_rules_jest+/jest/private/BUILD.bazel; however, a source file of this name exists.  (Perhaps add 'exports_files(["bazel_sequencer.cjs"])' to jest/private/BUILD.bazel?)
(00:20:59) ERROR: /workdir/frontend/next.js/pages/BUILD.bazel:46:10: no such target '@@aspect_rules_jest+//jest/private:bazel_sequencer.cjs': target 'bazel_sequencer.cjs' not declared in package 'jest/private' defined by /var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/35a07be9248b2971a5f99210ada8127b/external/aspect_rules_jest+/jest/private/BUILD.bazel; however, a source file of this name exists.  (Perhaps add 'exports_files(["bazel_sequencer.cjs"])' to jest/private/BUILD.bazel?) and referenced by '//next.js/pages:_jest_test_bazel_sequencer'
(00:20:59) ERROR: Analysis of target '//next.js/pages:_jest_test_bazel_sequencer' failed; build aborted: Analysis failed
(00:20:59) INFO: Elapsed time: 5.227s, Critical Path: 0.04s
(00:20:59) INFO: 1 process: 1 internal.
(00:20:59) ERROR: Build did NOT complete successfully
(00:20:59) FAILED:

CC Greenteam @Wyverald

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions