Dev server exits early in Next15 when using Turbopack #73025
Unanswered
MangoMarcus
asked this question in
Help
Replies: 1 comment 1 reply
-
@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.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Link to the code that reproduces this issue
https://github.com/MangoMarcus/turbopack-exit
To Reproduce
npm i
npm run dev
npm run dev
will exit with code0
, without an error.Current vs. Expected behavior
npm run dev
will exit with code0
, without an errorProvide environment information
Which area(s) are affected? (Select all that apply)
Turbopack
Which stage(s) are affected? (Select all that apply)
next dev (local)
Additional context
This 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.
console.log(typeof Preline)
Beta Was this translation helpful? Give feedback.
All reactions