>PROBLEM
Like as everybody never forgets... What a lie! :-)
After sometime without using a technology, you need "swap from disk to memory".
>SOLUTION
Create a revision summary.
>ENV
Angular
Create a revision summary.
A request generates the following error:
Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
It happens when some exception occurs before returning the request, for instance a "res.sent" statement.
Debug the application step-by-step.
To simplify, you may comment on the code from the start.
Tip: check database exceptions not treated.
Having more than one exception becomes tricky if you can't reproduce the same request.
Be sure to fix all possible exceptions.
Node: 16.13.1
Package Manager: npm 8.5.4
OS: win32 x64
>PROBLEM Using Eclipse, you try to run a simple logging test using "org.slf4j.Logger" like the sample below: package Test; im...