-
Notifications
You must be signed in to change notification settings - Fork 688
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
🐛 BUG: ERR_IPC_CHANNEL_CLOSED when reload Remix app #4008
Comments
Can confirm same issue per this and remix-run/remix#7510 and downgrading from wrangler 3.9.0 to 3.8.0 resolved it for me |
I am also getting |
I caught that too in Remix, but it happens whenever the content of the functions directory is updated, no matter the tooling. |
Seems that this is due to this code change. @mrbbot |
I had the same issue and removing that line fixed it for me.
diff --git a/node_modules/wrangler/wrangler-dist/cli.js b/node_modules/wrangler/wrangler-dist/cli.js
index 183663e..ebfe39f 100644
--- a/node_modules/wrangler/wrangler-dist/cli.js
+++ b/node_modules/wrangler/wrangler-dist/cli.js
@@ -147318,8 +147318,6 @@ ${tryRunningItIn}${oneOfThese}`
}
throw e2;
} finally {
- if (typeof jest === "undefined")
- process.disconnect?.();
}
}
__name(main, "main");
|
Which Cloudflare product(s) does this pertain to?
C3, Pages, Wrangler core
What version(s) of the tool(s) are you using?
3.9.0 [wrangler]
What version of Node are you using?
20.6.1
What operating system are you using?
Mac
Describe the Bug
After running remix dev with Wrangler v3.9.0, when I tried to reload the Remix app, the server was terminated with the error message: "Error [ERR_IPC_CHANNEL_CLOSED]: Channel closed." However, Wrangler v3.8.0 seems to work without any issues.
Steps to reproduce:
npm create cloudflare@latest my-remix-app -- --framework=remix
)cd my-remix-app
)npm run dev
)Please provide a link to a minimal reproduction
No response
Please provide any relevant error logs
The text was updated successfully, but these errors were encountered: