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
$ deno run -A npm:create-svelte@latest my-app/
$ cd my-app/
$ deno task build
Task build vite build
vite v5.1.6 building SSR bundle for production...
"confetti" is imported from external module "@neoconfetti/svelte" but never used in "src/routes/sverdle/+page.svelte".
✓ 120 modules transformed.
error: Uncaught (in worker "") (in promise) Error: require() of ES Module /Users/divy/gh/goa/my-app/node_modules/.deno/@sveltejs+kit@2.5.3/node_modules/@sveltejs/kit/src/core/postbuild/analyse.js from /Users/divy/gh/goa/my-app not supported. Instead change the require to a dynamic import() which is available in all CommonJS modules.
at createRequireEsmError (node:module:740:15)
at Object.Module._extensions..js (node:module:729:13)
at Module.load (node:module:643:32)
at Function.Module._load (node:module:524:12)
at Module.require (node:module:662:19)
at require (node:module:776:16)
at data:text/javascript,(async function() {c......d/analyse.js");})();:1:140
error: Uncaught (in promise) Error: Unhandled error. ([Object: null prototype] {
message: 'Uncaught (in promise) Error: require() of ES Module /Users/divy/gh/goa/my-app/node_modules/.deno/@sveltejs+kit@2.5.3/node_modules/@sveltejs/kit/src/core/postbuild/analyse.js from /Users/divy/gh/goa/my-app not supported. Instead change the require to a dynamic import() which is available in all CommonJS modules.',
fileName: 'node:module',
lineNumber: 740,
columnNumber: 15
})
at NodeWorker.emit (ext:deno_node/_events.mjs:371:17)
at NodeWorker.#handleError (node:worker_threads:155:10)
at NodeWorker.#pollControl (node:worker_threads:175:30)
at eventLoopTick (ext:core/01_core.js:169:7)
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: