-
Notifications
You must be signed in to change notification settings - Fork 533
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
Running node-cluster preset build throwing EADDRINUSE errors #2892
Comments
Probably, the problem lies here: The code with export const main = async () => {
// all code here
}; Then, function runWorker() {
import("./node-server")
.then((server) => {
server.main();
})
.catch((error) => {
console.error(error);
process.exit(1);
});
} I've created a PR for this fix: #2893 |
Thanks for the report. this issue should be fixed in the nightly channel. |
Any idea when we can expect this fix in nuxt stable? Right now node_cluster mode is totally broken in nuxt > 3.13 |
You can pin |
Hi @pi0 , using the nightly build is not really a fix for us in production, is there a way to get this fix into stable? |
Environment
Node Version: v18.20.3
Nitro Version: 2.10.4
Reproduction
https://stackblitz.com/edit/github-mrhh35?file=nitro.config.ts
Describe the bug
Running application with preset 'node-cluster' is throwing EADDRINUSE errors
Additional context
No such issue in v2.9.7
Logs
The text was updated successfully, but these errors were encountered: