You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: Cannot set headers after they are sent to the client
🕗 Version & Regression Information
This is a crash
This changed between versions ______ and _______
This changed in commit or PR _______
This is the behavior in every version I tried, and I reviewed the FAQ for entries about _________
I was unable to test this on prior versions because _______
⏯ Playground Link
No response
💻 Code
// Your code here
🙁 Actual behavior
Using typescript to write the backend interface, this error message appears after a normal response to a request, causing the entire program to end abnormally, unable to respond to subsequent requests.
[ERROR] 15:13:55 Error: Cannot set headers after they are sent to the client
🙂 Expected behavior
The request is responded to normally and does not affect the normal execution of other requests.
Additional information about the issue
No response
The text was updated successfully, but these errors were encountered:
It looks like this is a question rather than a bug report. This issue tracker is for tracking bugs and active work on TypeScript itself, rather than a general forum for programmers using TypeScript to get help or ask questions.
You can ask questions on sites like Stack Overflow. We are not able to provide one-on-one support on the issue tracker. Please read the issue template carefully - it has important information on what kinds of reports can be acted on here, as well as links to useful TypeScript resources. Thanks!
🔎 Search Terms
Error: Cannot set headers after they are sent to the client
🕗 Version & Regression Information
⏯ Playground Link
No response
💻 Code
// Your code here
🙁 Actual behavior
Using typescript to write the backend interface, this error message appears after a normal response to a request, causing the entire program to end abnormally, unable to respond to subsequent requests.
[ERROR] 15:13:55 Error: Cannot set headers after they are sent to the client
🙂 Expected behavior
The request is responded to normally and does not affect the normal execution of other requests.
Additional information about the issue
No response
The text was updated successfully, but these errors were encountered: