iisnode encountered an error when processing the request.

HRESULT: 0x2
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:

 ⚠ Installing TypeScript as it was not found while loading "next.config.ts".
Application has thrown an uncaught exception and is terminated:
Error: spawn yarn ENOENT
    at notFoundError (C:\websites\TestSites\pondnext-test\NewPond\node_modules\next\dist\compiled\cross-spawn\index.js:1:557)
    at verifyENOENT (C:\websites\TestSites\pondnext-test\NewPond\node_modules\next\dist\compiled\cross-spawn\index.js:1:936)
    at e.emit (C:\websites\TestSites\pondnext-test\NewPond\node_modules\next\dist\compiled\cross-spawn\index.js:1:791)
    at ChildProcess._handle.onexit (node:internal/child_process:294:12)