bazel-contrib / bazel-contrib/rules_nodejs

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

Open
#3,797 7 comments 1 reaction 0 assignees View on GitHub
bug help wanted need: funding
Dominant language
Starlark
Stars
762
Forks
531
Avg merge
10h 31m
Merged PRs (30d)
3

Description

### 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 https://github.com/bazel-contrib/rules_nodejs/commit/21b56da9f20c9c5e8b8c1ac19052f1f7cc7b5920 and bazel7 with `--enable_bzlmod=false`

### How to reproduce

```shell
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_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.