ReferenceError: require is not defined in ES module scope, you can use import instead
This file is being treated as an ES module because it has a '.js' file extension and '/workspaces/4eign-takehome/package.json' contains "type": "module". To treat it as a CommonJS script, rename it to use the '.cjs' file extension.
at requireXMLHttpRequestImpl (file:///workspaces/4eign-takehome/.svelte-kit/output/server/chunks/utils.js:185165:26)
at file:///workspaces/4eign-takehome/.svelte-kit/output/server/chunks/utils.js:186582:18
at requireXMLHttpRequest (file:///workspaces/4eign-takehome/.svelte-kit/output/server/chunks/utils.js:186583:5)
at requireInterfaces (file:///workspaces/4eign-takehome/.svelte-kit/output/server/chunks/utils.js:194261:21)
at requireWindow (file:///workspaces/4eign-takehome/.svelte-kit/output/server/chunks/utils.js:194774:33)
at file:///workspaces/4eign-takehome/.svelte-kit/output/server/chunks/utils.js:195595:1
at ModuleJob.run (node:internal/modules/esm/module_job:262:25)
at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:485:26)
at async Module.component (file:///workspaces/4eign-takehome/.svelte-kit/output/server/nodes/2.js:6:59)
at async Promise.all (index 1)