iisnode encountered an error when processing the request.

HTTP status: 500
HTTP subStatus: 1002
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:

Application has thrown an uncaught exception and is terminated:
Error [ERR_REQUIRE_ESM]: require() of ES Module D:\Proj\AngularWebsites\SoftpalWebsite\dist\softpal-website\server\server.mjs not supported.
Instead change the require of D:\Proj\AngularWebsites\SoftpalWebsite\dist\softpal-website\server\server.mjs to a dynamic import() which is available in all CommonJS modules.
    at Object.<anonymous> (C:\Program Files\iisnode\interceptor.js:210:1)