You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there, whlie trying to run this template https://github.com/NextLegacy/SvelteKit-Deno-Template and updating svelte-kit to the latest version, it started breaking when running deno task build with the following error
error: Uncaught (in worker "") (in promise) TypeError: Module not found "file:///Users/jayson.reis/src/SvelteKit-Deno-Template/.svelte-kit/output/server/nodes/0.js".
at async Promise.all (index 0)
at async analyse (file:///Users/jayson.reis/src/SvelteKit-Deno-Template/node_modules/.deno/@sveltejs+kit@2.21.1/node_modules/@sveltejs/kit/src/core/postbuild/analyse.js:86:16)
at async file:///Users/jayson.reis/src/SvelteKit-Deno-Template/node_modules/.deno/@sveltejs+kit@2.21.1/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 "file:///Users/jayson.reis/src/SvelteKit-Deno-Template/.svelte-kit/output/server/nodes/0.js".',
fileName: 'file:///Users/jayson.reis/src/SvelteKit-Deno-Template/node_modules/.deno/@sveltejs+kit@2.21.1/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:178:7)
I am not sure if it is something related to deno o if it is a caching when the manifest is loaded, it imports the nodes files with __memo(() => import('./nodes/0.js')) and when analyze is called, it will complain that the file does not exist even at that point it does exist.
Moving the manifest import after build_server_nodes seems to work.
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
Hi there, whlie trying to run this template https://github.com/NextLegacy/SvelteKit-Deno-Template and updating svelte-kit to the latest version, it started breaking when running
deno task build
with the following errorI am not sure if it is something related to deno o if it is a caching when the manifest is loaded, it imports the nodes files with
__memo(() => import('./nodes/0.js'))
and when analyze is called, it will complain that the file does not exist even at that point it does exist.Moving the manifest import after
build_server_nodes
seems to work.Reproduction
Logs
System Info
Severity
blocking an upgrade
Additional Information
No response
The text was updated successfully, but these errors were encountered: