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:4356) [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)
SvelteKitError: Not found: /sitemaps.xml
    at resolve2 (file:///C:/Websites/www.havetiskolan.se/server/index.js:4206:18)
    at resolve (file:///C:/Websites/www.havetiskolan.se/server/index.js:4039:34)
    at #options.hooks.handle (file:///C:/Websites/www.havetiskolan.se/server/index.js:4274:71)
    at respond (file:///C:/Websites/www.havetiskolan.se/server/index.js:4037:43)
    at async Array.ssr (file:///C:/Websites/www.havetiskolan.se/handler.js:1270:3) {
  status: 404,
  text: 'Not Found'
}
SvelteKitError: Not found: /media/xgbev53y/ska-rmavbild-2024-06-18-kl-09-34-56-2.png
    at resolve2 (file:///C:/Websites/www.havetiskolan.se/server/index.js:4206:18)
    at resolve (file:///C:/Websites/www.havetiskolan.se/server/index.js:4039:34)
    at #options.hooks.handle (file:///C:/Websites/www.havetiskolan.se/server/index.js:4274:71)
    at respond (file:///C:/Websites/www.havetiskolan.se/server/index.js:4037:43)
    at async Array.ssr (file:///C:/Websites/www.havetiskolan.se/handler.js:1270:3) {
  status: 404,
  text: 'Not Found'
}
TypeError: Value is not JSON serializable
    at serializeJavascriptValueToJSONString (node:internal/deps/undici/undici:2545:15)
    at Response.json (node:internal/deps/undici/undici:4361:11)
    at GET (file:///C:/Websites/www.havetiskolan.se/server/chunks/_server.ts-Ca-RoTGr.js:36:19)
    at render_endpoint (file:///C:/Websites/www.havetiskolan.se/server/index.js:1631:26)
    at resolve2 (file:///C:/Websites/www.havetiskolan.se/server/index.js:4142:28)
    at async respond (file:///C:/Websites/www.havetiskolan.se/server/index.js:4037:22)
    at async Array.ssr (file:///C:/Websites/www.havetiskolan.se/handler.js:1270:3)
SvelteKitError: Not found: /$t('common.URL_MATERIAL')
    at resolve2 (file:///C:/Websites/www.havetiskolan.se/server/index.js:4206:18)
    at resolve (file:///C:/Websites/www.havetiskolan.se/server/index.js:4039:34)
    at #options.hooks.handle (file:///C:/Websites/www.havetiskolan.se/server/index.js:4274:71)
    at respond (file:///C:/Websites/www.havetiskolan.se/server/index.js:4037:43)
    at async Array.ssr (file:///C:/Websites/www.havetiskolan.se/handler.js:1270:3) {
  status: 404,
  text: 'Not Found'
}
SvelteKitError: Not found: /$t('common.URL_MATERIAL')
    at resolve2 (file:///C:/Websites/www.havetiskolan.se/server/index.js:4206:18)
    at resolve (file:///C:/Websites/www.havetiskolan.se/server/index.js:4039:34)
    at #options.hooks.handle (file:///C:/Websites/www.havetiskolan.se/server/index.js:4274:71)
    at respond (file:///C:/Websites/www.havetiskolan.se/server/index.js:4037:43)
    at async Array.ssr (file:///C:/Websites/www.havetiskolan.se/handler.js:1270:3) {
  status: 404,
  text: 'Not Found'
}
SvelteKitError: Not found: /$t('common.URL_MATERIAL')
    at resolve2 (file:///C:/Websites/www.havetiskolan.se/server/index.js:4206:18)
    at resolve (file:///C:/Websites/www.havetiskolan.se/server/index.js:4039:34)
    at #options.hooks.handle (file:///C:/Websites/www.havetiskolan.se/server/index.js:4274:71)
    at respond (file:///C:/Websites/www.havetiskolan.se/server/index.js:4037:43)
    at async Array.ssr (file:///C:/Websites/www.havetiskolan.se/handler.js:1270:3) {
  status: 404,
  text: 'Not Found'
}
SvelteKitError: Not found: /.well-known/traffic-advice
    at resolve2 (file:///C:/Websites/www.havetiskolan.se/server/index.js:4206:18)
    at resolve (file:///C:/Websites/www.havetiskolan.se/server/index.js:4039:34)
    at #options.hooks.handle (file:///C:/Websites/www.havetiskolan.se/server/index.js:4274:71)
    at respond (file:///C:/Websites/www.havetiskolan.se/server/index.js:4037:43)
    at async Array.ssr (file:///C:/Websites/www.havetiskolan.se/handler.js:1270:3) {
  status: 404,
  text: 'Not Found'
}