The error message indicates that the error "Error: write after end" is occurring in "ServerResponse.write" in line 615 of the file _http_outgoing.js.
Also, since it is Error: write after end, it seems that the code "ServerResponse.end" was executed before "ServerResponse.write" above.
With this as a hint, reread the file _http_outgoing.js.
If you can't read it, please add the program to the question.Then you may get an answer.
[Advice] It's impossible to guess the cause of the program's errors when you don't know what the program is about.
© 2022 OneMinuteCode. All rights reserved.