Cannot build in versions after next@14.1.0 #65429
Labels
bug
Issue was opened via the bug report template.
Developer Experience
Issues related to Next.js logs, Error overlay, etc.
Link to the code that reproduces this issue
https://github.com/ravinggenius/minecraft-tools/tree/updates
To Reproduce
updates
branchcp .env .env.local
and fill in the missing valuesnpm ci
npm run build
runs as expected14.1.0
:npm install next
Current vs. Expected behavior
I expect to be able to install newer version of Next to keep my dependencies up-to-date. However every newer version of Next beyond
14.1.0
terminates the build process early and dumps a ton (2.1MB!) of minified JavaScript into the terminal. I've tried multiple versions of Next14.1.x
and14.2.x
with the same result.I am also unable to run the dev server in any version past
14.1.0
. Doing so produces copious erroneous output in the terminal when requesting a page.Provide environment information
Operating System: Platform: linux (ChromeOS) Arch: x64 Version: #1 SMP PREEMPT_DYNAMIC Sat, 17 Feb 2024 21:12:19 +0000 Binaries: Node: 18.18.2 npm: 9.8.1 Yarn: N/A pnpm: N/A Relevant Packages: next: 14.1.0 eslint-config-next: 14.2.2 react: 18.2.0 react-dom: 18.2.0 typescript: 5.3.3 Next.js Config: output: N/A
Which area(s) are affected? (Select all that apply)
Developer Experience
Which stage(s) are affected? (Select all that apply)
next dev (local), next build (local)
Additional context
I tested in the latest canary release (
14.3.0-canary.44
) also with the same result. You can find the full build output in this gist.The text was updated successfully, but these errors were encountered: