-
-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
In runes mode on svelte 5 w/ sveltekit, I get the following error:
✘ [ERROR] node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]_e6t7wwftpagr4yoei4e4wfqdp4/node_modules/@icons-pack/svelte-simple-icons/icons/SiWhatsapp.svelte:3:6 Cannot use `export let` in runes mode — use `$props()` instead
https://svelte.dev/e/legacy_export_invalid [plugin vite-plugin-svelte:optimize-svelte]
node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]_e6t7wwftpagr4yoei4e4wfqdp4/node_modules/@icons-pack/svelte-simple-icons/icons/SiWhatsapp.svelte:3:6:
3 │ export let color = 'currentColor';
╵ ^
/home/shady/projects/silly-driver/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:1476
let error = new Error(text);
^
Error: Build failed with 1 error:
node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]_e6t7wwftpagr4yoei4e4wfqdp4/node_modules/@icons-pack/svelte-simple-icons/icons/SiWhatsapp.svelte:3:6: ERROR: [plugin: vite-plugin-svelte:optimize-svelte] node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]_e6t7wwftpagr4yoei4e4wfqdp4/node_modules/@icons-pack/svelte-simple-icons/icons/SiWhatsapp.svelte:3:6 Cannot use `export let` in runes mode — use `$props()` instead
https://svelte.dev/e/legacy_export_invalid
at failureErrorWithLog (/home/shady/projects/silly-driver/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:1476:15)
at /home/shady/projects/silly-driver/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:945:25
at /home/shady/projects/silly-driver/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:1354:9
at process.processTicksAndRejections (node:internal/process/task_queues:105:5) {
errors: [Getter/Setter],
warnings: [Getter/Setter]
}
Node.js v22.14.0
niemyjski, wihlarkop and d3r1nwootsbot, wihlarkop and d3r1n
Metadata
Metadata
Assignees
Labels
No labels