smui-example-sveltekit icon indicating copy to clipboard operation
smui-example-sveltekit copied to clipboard

Application doesn't work

Open Audhut opened this issue 3 years ago • 4 comments

cloned the repo ran: npm i ran: npm run dev

got below error

image

Audhut avatar Nov 05 '21 23:11 Audhut

I'm having same issue

mpackermancc avatar Nov 07 '21 20:11 mpackermancc

Same here. Been struggling for hours to get this working with SvelteKit, and now your own example doesn't even work... 😩

image

Hubro avatar Nov 08 '21 20:11 Hubro

Not able to run the application 14.34.40 [vite] Error when evaluating SSR module /src/routes/index.svelte: Error [ERR_REQUIRE_ESM]: require() of ES Module C:\Users\mugu\Frontier\repos\svelte\smui-example-sveltekit\node_modules\@smui\button\index.js from C:\Users\mugu\Frontier\repos\svelte\smui-example-sveltekit\node_modules\vite\dist\node\chunks\dep-63d4bd14.js not supported. Instead change the require of index.js in C:\Users\mugu\Frontier\repos\svelte\smui-example-sveltekit\node_modules\vite\dist\node\chunks\dep-63d4bd14.js to a dynamic import() which is available in all CommonJS modules. at nodeRequire (C:\Users\mugu\Frontier\repos\svelte\smui-example-sveltekit\node_modules\vite\dist\node\chunks\dep-63d4bd14.js:75134:17) at ssrImport (C:\Users\mugu\Frontier\repos\svelte\smui-example-sveltekit\node_modules\vite\dist\node\chunks\dep-63d4bd14.js:75076:20) at eval (/src/routes/index.svelte:7:37) at async instantiateModule (C:\Users\mugu\Frontier\repos\svelte\smui-example-sveltekit\node_modules\vite\dist\node\chunks\dep-63d4bd14.js:75119:9)

mugu-fatman avatar Nov 23 '21 12:11 mugu-fatman

Is this a dupe of #6?

vhscom avatar Nov 09 '22 18:11 vhscom