Dev server exits early in Next15 when using Turbopack #73025
-
Link to the code that reproduces this issuehttps://github.com/MangoMarcus/turbopack-exit To Reproduce
Current vs. Expected behavior
Provide environment informationOperating System:
Platform: macOS
Chip: Apple M1 Pro
Version: macOS 14.4
Binaries:
Node: 20.2.0
npm: 9.6.6
Yarn: N/A
pnpm: N/A
Relevant Packages:
next: 15.0.3
eslint-config-next: 15.0.3
react: [email protected]
react-dom: 19.0.0-rc-66855b96-20241106
typescript: 5.6.3
Next.js Config:
output: N/A Which area(s) are affected? (Select all that apply)Turbopack Which stage(s) are affected? (Select all that apply)next dev (local) Additional contextThis was not an issue before migrating to Next 15 and also only affects Turbopack, not Webpack. I've narrowed down the issue to Preline, although I'm not sure if the underlying issue is with Next, Turbopack, or Preline. As it works fine on either Next 14 or Webpack, I'm guessing it's not Preline itself that's the issue. I've added some 'XXX' comments for context, it seems the process exits whenever a Preline import is read, eg. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
@MangoMarcus I'm not sure you're even supposed to import Preline outside of I tried setting up with the documentation (they have a StackBlitz example), and it seem to work! |
Beta Was this translation helpful? Give feedback.
-
Yup, same Issue on me as well.
|
Beta Was this translation helpful? Give feedback.
-
Hi guys, I've recently faced with this problem and found it MAY related to OOM issue. By increasing memory the problem seems to be solved. |
Beta Was this translation helpful? Give feedback.
@MangoMarcus my apologies for the delay and prematurely moving this to discussions! I tried digging into this again, and was not able to find a culprit—my guess is it has nothing to do with Preline.
I've re-opened the issue → #76182.