iisnode encountered an error when processing the request.

HRESULT: 0x6d
HTTP status: 500
HTTP subStatus: 1013
HTTP reason: Internal Server Error

You are receiving this HTTP 200 response because system.webServer/iisnode/@devErrorsEnabled configuration setting is 'true'.

In addition to the log of stdout and stderr of the node.exe process, consider using debugging and ETW traces to further diagnose the problem.

The last 64k of the output generated by the node.exe process to stderr is shown below:

Mon, 06 Dec 2021 08:24:35 GMT express-session deprecated undefined resave option; provide resave option at main.8a120f5122c319a9eae5.js:1:295
Mon, 06 Dec 2021 08:24:35 GMT express-session deprecated undefined saveUninitialized option; provide saveUninitialized option at main.8a120f5122c319a9eae5.js:1:295
Warning: connect.session() MemoryStore is not
designed for a production environment, as it will leak
memory, and will not scale past a single process.
(node:15544) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.