Skip to content

[Bug]: @bazel/runfiles does not work with non-bzlmod when a _repo_mapping file existsΒ #3797

@jbedard

Description

@jbedard

What happened?

When bzlmod is disabled it seems bazel7 still creates a .repo_mapping file which is configured different then when bzlmod is enabled.

Version

rules_nodejs with 21b56da and bazel7 with --enable_bzlmod=false

How to reproduce

Run the rules_js `e2e/runfiles` test with bazel7 and non-bzlmod: https://github.com/aspect-build/rules_js/commit/0cf77d9562d59c7a4e59269ba888ad21d4f99ce7

Any other information?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bughelp wantedneed: fundingWe could prioritize this based on donation to https://opencollective.com/aspect-build

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions