Application has thrown an uncaught exception and is terminated:
Error [ERR_REQUIRE_ESM]: require() of ES Module C:\api-chat\src\server.js from C:\Program Files\iisnode\interceptor.js not supported.
Instead change the require of server.js in C:\Program Files\iisnode\interceptor.js to a dynamic import() which is available in all CommonJS modules.
at TracingChannel.traceSync (node:diagnostics_channel:315:14)
at Object. (C:\Program Files\iisnode\interceptor.js:210:1)
Nodejs ver 23.x
Application has thrown an uncaught exception and is terminated:
Error [ERR_REQUIRE_ESM]: require() of ES Module C:\api-chat\src\server.js from C:\Program Files\iisnode\interceptor.js not supported.
Instead change the require of server.js in C:\Program Files\iisnode\interceptor.js to a dynamic import() which is available in all CommonJS modules.
at TracingChannel.traceSync (node:diagnostics_channel:315:14)
at Object. (C:\Program Files\iisnode\interceptor.js:210:1)
Nodejs ver 23.x