-
Notifications
You must be signed in to change notification settings - Fork 27.8k
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
Output export and distDir in the config file will crash the dev server (Ver 14.1) #61905
Comments
Would love to have some feedback, I got the same problem on my frontend react strapi website |
I have the same issue the dev server is looking for |
This comment has been minimized.
This comment has been minimized.
Closing as this is fixed in latest canary of Next.js, x-ref: #61105 (comment) |
The dev server is crashing. See vercel/next.js#61905
Keep Next.js on 14.0.0 instead of 14.1.0 because of a dev server crashing issue: vercel/next.js#61905
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. |
Link to the code that reproduces this issue
https://github.com/leo-budgetsimple/nextjs-bug
To Reproduce
Copy over the repo
Start the application on dev (npm run dev)
Go to localhost:3000
You should see the text 'Hello'
but instead you get:
missing required error components, refreshing...
Current vs. Expected behavior
Current Behavior:
Cannot run development server, this error appears on the screen:
missing required error components, refreshing...
Expected Behaviour
To be able to run the dev server.
Provide environment information
Which area(s) are affected? (Select all that apply)
Static HTML Export (output: "export")
Which stage(s) are affected? (Select all that apply)
next dev (local)
Additional context
This happened after I upgraded to NextJs 14.1.
Doesn't happen with old versions.
If I remove distDir the dev server works as intended, same as if I remove the output: export
The text was updated successfully, but these errors were encountered: