Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maximum Call stack exceeded with NextJS 15. Works on 14 #72377

Closed
Brandawg93 opened this issue Nov 6, 2024 · 4 comments
Closed

Maximum Call stack exceeded with NextJS 15. Works on 14 #72377

Brandawg93 opened this issue Nov 6, 2024 · 4 comments
Labels
bug Issue was opened via the bug report template. Developer Experience Issues related to Next.js logs, Error overlay, etc. locked Turbopack Related to Turbopack with Next.js. Webpack Related to Webpack with Next.js.

Comments

@Brandawg93
Copy link

Link to the code that reproduces this issue

https://github.com/Brandawg93/PeaNUT

To Reproduce

  1. pnpm i
  2. npm run dev

Current vs. Expected behavior

I expect to be able to start the development server.

Provide environment information

Operating System:
  Platform: darwin
  Arch: arm64
  Version: Darwin Kernel Version 24.1.0: Thu Oct 10 21:03:15 PDT 2024; root:xnu-11215.41.3~2/RELEASE_ARM64_T6000
  Available memory (MB): 16384
  Available CPU cores: 8
Binaries:
  Node: 22.11.0
  npm: 8.11.0
  Yarn: N/A
  pnpm: 9.12.3
Relevant Packages:
  next: 15.0.2 // Latest available version is detected (15.0.2).
  eslint-config-next: N/A
  react: 18.3.1
  react-dom: 18.3.1
  typescript: 5.5.4
Next.js Config:
  output: standalone

Which area(s) are affected? (Select all that apply)

Developer Experience, Turbopack, Webpack

Which stage(s) are affected? (Select all that apply)

next dev (local)

Additional context

This happens with both Webpack and Turbopack. Also happens on GitHub builds. NextJS 15 does not work. NextJS 14 works. NextJS 15 actually worked until about a week ago. Here is the stack trace:

[1] [WebServer]  ⨯ node_modules/.pnpm/[email protected]/node_modules/deepmerge/dist/cjs.js (86:1) @ eval
[1] [WebServer]  ⨯ RangeError: Maximum call stack size exceeded
[1] [WebServer]     at Array.forEach (<anonymous>)
[1] [WebServer]     at Array.forEach (<anonymous>)
[1] [WebServer]     at Array.forEach (<anonymous>)
[1] [WebServer]     at Array.forEach (<anonymous>)
[1] [WebServer]     at Array.forEach (<anonymous>)
[1] [WebServer]     at Array.forEach (<anonymous>)
[1] [WebServer]     at Array.forEach (<anonymous>)
[1] [WebServer]     at Array.forEach (<anonymous>)
[1] [WebServer]     at Array.forEach (<anonymous>)
[1] [WebServer]     at Array.forEach (<anonymous>)
[1] [WebServer] digest: "4125755549"
[1] [WebServer]   84 | 		});
[1] [WebServer]   85 | 	}
[1] [WebServer] > 86 | 	getKeys(source).forEach(function(key) {
[1] [WebServer]      | ^
[1] [WebServer]   87 | 		if (propertyIsUnsafe(target, key)) {
[1] [WebServer]   88 | 			return
[1] [WebServer]   89 | 		}

https://github.com/Brandawg93/PeaNUT/actions/runs/11692817929/job/32563010887

@Brandawg93 Brandawg93 added the bug Issue was opened via the bug report template. label Nov 6, 2024
@github-actions github-actions bot added Developer Experience Issues related to Next.js logs, Error overlay, etc. Turbopack Related to Turbopack with Next.js. Webpack Related to Webpack with Next.js. labels Nov 6, 2024
@Brandawg93
Copy link
Author

This is an issue with Material Tailwind.

@Milad335t

This comment was marked as spam.

@Bushuo
Copy link

Bushuo commented Nov 13, 2024

creativetimofficial/material-tailwind#840
For a quick fix

Copy link
Contributor

This closed issue has been automatically locked because it had no new activity for 2 weeks. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue was opened via the bug report template. Developer Experience Issues related to Next.js logs, Error overlay, etc. locked Turbopack Related to Turbopack with Next.js. Webpack Related to Webpack with Next.js.
Projects
None yet
Development

No branches or pull requests

3 participants