aspect-build / aspect-build/rules_js
[Bug]: next_js_binary failing on NextJS 16
- Dominant language
- Starlark
- Stars
- 378
- Forks
- 183
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 32
Description
### What happened?
NextJS 16 is failing to build utilizing the `next_js_binary` call due to failures with Turbopack symlinks.
Error documented here:
https://github.com/aspect-build/rules_js/pull/2573
### Version
Development (host) and target OS/architectures:
Output of `bazel --version`:
`7.7.1`
Version of the Aspect rules, or other relevant rules from your
`WORKSPACE` or `MODULE.bazel` file:
2.0.0``
Language(s) and/or frameworks involved:
NextJS 16.X
### How to reproduce
```shell
Upgrade a passing NextJS 15.X build to 16.X
```
### Any other information?
_No response_
Contributor guide
Research direction
Start by reproducing the failure described for the `next_js_binary` call after upgrading a passing NextJS 15.X build to NextJS 16.X, using Bazel 7.7.1 and rules version 2.0.0. Read the documented Turbopack symlink error in https://github.com/aspect-build/rules_js/pull/2573 and trace the affected build entry point. Done means the NextJS 16.X build succeeds without the symlink failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, nextjs
- Domain
- build-system, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 42/100