Hi 🙂
I’ve got the problem then when trying to build the production version of my Tauri × SvelteKit App I get this really weird error. Dev mode works without problems.
deno task build
Task build vite build
vite v6.3.5 building SSR bundle for production...
✓ 843 modules transformed.
error: Uncaught (in worker "") (in promise) TypeError: Module not found "…/output/server/nodes/0.js".
at async Promise.all (index 0)
at async analyse (…/node_modules/.deno/@[email protected]/node_modules/@sveltejs/kit/src/core/postbuild/analyse.js:86:16)
at async …/node_modules/.deno/@[email protected]/node_modules/@sveltejs/kit/src/utils/fork.js:23:16
error: Uncaught (in promise) Error: Unhandled error. ([Object: null prototype] {
message: 'Uncaught (in promise) TypeError: Module not found "…/.svelte-kit/output/server/nodes/0.js".',
fileName: '…/node_modules/.deno/@[email protected]/node_modules/@sveltejs/kit/src/core/postbuild/analyse.js',
lineNumber: 86,
columnNumber: 16
})
at NodeWorker.emit (ext:deno_node/_events.mjs:381:17)
at NodeWorker.#handleError (node:worker_threads:118:10)
at NodeWorker.#pollControl (node:worker_threads:138:30)
at eventLoopTick (ext:core/01_core.js:177:7)
If anyone is able to at least help me debug this, i’d be super grateful! I honestly don’t even know how to proceed here