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:

(node:1924) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
TypeError: node.component is not a function
    at file:///C:/Websites/www.havetiskolan.se/server/index.js:2662:69
    at Array.map (<anonymous>)
    at render_response (file:///C:/Websites/www.havetiskolan.se/server/index.js:2662:46)
    at render_page (file:///C:/Websites/www.havetiskolan.se/server/index.js:3514:18)
    at async resolve2 (file:///C:/Websites/www.havetiskolan.se/server/index.js:4148:24)
    at async respond (file:///C:/Websites/www.havetiskolan.se/server/index.js:4040:22)
    at async Array.ssr (file:///C:/Websites/www.havetiskolan.se/handler.js:1270:3)
TypeError: Cannot read properties of undefined (reading 'all')
    at file:///C:/Websites/www.havetiskolan.se/server/chunks/_page.svelte-COZfrswG.js:320:52
    at Array.map (<anonymous>)
    at file:///C:/Websites/www.havetiskolan.se/server/chunks/_page.svelte-COZfrswG.js:320:23
    at Object.$$render (file:///C:/Websites/www.havetiskolan.se/server/chunks/exports-D--tUtbK.js:71:18)
    at Object.default (file:///C:/Websites/www.havetiskolan.se/server/index.js:70:98)
    at file:///C:/Websites/www.havetiskolan.se/server/chunks/_layout.svelte-CoZ5nmz8.js:363:284
    at Object.$$render (file:///C:/Websites/www.havetiskolan.se/server/chunks/exports-D--tUtbK.js:71:18)
    at file:///C:/Websites/www.havetiskolan.se/server/index.js:59:121
    at $$render (file:///C:/Websites/www.havetiskolan.se/server/chunks/exports-D--tUtbK.js:71:18)
    at Object.render (file:///C:/Websites/www.havetiskolan.se/server/chunks/exports-D--tUtbK.js:79:20)
TypeError: Cannot read properties of undefined (reading 'all')
    at file:///C:/Websites/www.havetiskolan.se/server/chunks/_page.svelte-COZfrswG.js:320:52
    at Array.map (<anonymous>)
    at file:///C:/Websites/www.havetiskolan.se/server/chunks/_page.svelte-COZfrswG.js:320:23
    at Object.$$render (file:///C:/Websites/www.havetiskolan.se/server/chunks/exports-D--tUtbK.js:71:18)
    at Object.default (file:///C:/Websites/www.havetiskolan.se/server/index.js:70:98)
    at file:///C:/Websites/www.havetiskolan.se/server/chunks/_layout.svelte-CoZ5nmz8.js:363:284
    at Object.$$render (file:///C:/Websites/www.havetiskolan.se/server/chunks/exports-D--tUtbK.js:71:18)
    at file:///C:/Websites/www.havetiskolan.se/server/index.js:59:121
    at $$render (file:///C:/Websites/www.havetiskolan.se/server/chunks/exports-D--tUtbK.js:71:18)
    at Object.render (file:///C:/Websites/www.havetiskolan.se/server/chunks/exports-D--tUtbK.js:79:20)
TypeError: Cannot read properties of undefined (reading 'all')
    at file:///C:/Websites/www.havetiskolan.se/server/chunks/_page.svelte-COZfrswG.js:320:52
    at Array.map (<anonymous>)
    at file:///C:/Websites/www.havetiskolan.se/server/chunks/_page.svelte-COZfrswG.js:320:23
    at Object.$$render (file:///C:/Websites/www.havetiskolan.se/server/chunks/exports-D--tUtbK.js:71:18)
    at Object.default (file:///C:/Websites/www.havetiskolan.se/server/index.js:70:98)
    at file:///C:/Websites/www.havetiskolan.se/server/chunks/_layout.svelte-CoZ5nmz8.js:363:284
    at Object.$$render (file:///C:/Websites/www.havetiskolan.se/server/chunks/exports-D--tUtbK.js:71:18)
    at file:///C:/Websites/www.havetiskolan.se/server/index.js:59:121
    at $$render (file:///C:/Websites/www.havetiskolan.se/server/chunks/exports-D--tUtbK.js:71:18)
    at Object.render (file:///C:/Websites/www.havetiskolan.se/server/chunks/exports-D--tUtbK.js:79:20)