Skip to main content
Filter by
Sorted by
Tagged with
0 votes
3 answers
59 views

I am trying to render an element from a Float32Array using Svelte. let laterTimeIndex = hourlyWeatherData.time .find((timeData: Date) => timeData.getHours() === (currentTime + 5) % 24 ...
Krinz's user avatar
  • 21
2 votes
1 answer
42 views

I am working on a simple website, using SvelteKit. For the UI, I use Flowbite-Svelte and some of its components. During early stages of development, I just used the availableFrom property. Now I want ...
Stef1397's user avatar
1 vote
1 answer
65 views

I am trying to create a generic API app that heavily uses the Accept header using SvelteKit. Some example routes are: GET /[schema] - HTML page with list of {schema} items GET /[schema] Accept: ...
bytesnz's user avatar
  • 441
1 vote
1 answer
78 views

I enter "npx sv create" as I have done successfully numerous times before, and choose all defaults. The usual spinner begins, but this error appears. I have rebooted, tried different clean ...
WahhabB's user avatar
  • 530
1 vote
1 answer
108 views

I'm having issue with tailwindcss 4. On fresh new project when I run the app the error occurs: C:/Users/Maxima/Desktop/System_obslugi_praktyk/src/app.css:45:1: @layer base is used but no matching @...
Piszczek's user avatar
2 votes
1 answer
61 views

I'm creating a component that will receive several RouteId and create links I want to use the resolve fn to validate them see: https://svelte.dev/docs/kit/$app-paths#resolve If I declare a prop (or a ...
opensas's user avatar
  • 64.4k
1 vote
1 answer
251 views

I’m developing a desktop app with Rust + Tauri (v2.5) + SvelteKit. On macOS my command for opening a new settings window works perfectly. On Windows however, the app freezes when building the window: ...
Don Coder's user avatar
  • 568
1 vote
0 answers
45 views

I just started learning Svelte. Here's a small problem I encountered recently: I’m trying to use {#await} in SvelteKit to simulate a loading state while waiting for server data. Here’s my setup: <!-...
user31393851's user avatar
0 votes
1 answer
104 views

"@sveltejs/kit": "^2.34.0" I am adding a close button to the svelte shadcn Tabs component and get this error. I have seen many questions on this in other frameworks but not ...
dan's user avatar
  • 2,989
0 votes
1 answer
110 views

I am getting the following error when I try to update a username in better-auth from a sveltekit client # SERVER_ERROR: error: column "displayUsername" of relation "users" does ...
PirateApp's user avatar
  • 6,362
0 votes
1 answer
80 views

Context I have a Svelte 5 + SvelteKit application (App A) that is loaded into an iframe within a different app (App B). When the iframe loads, App B emits a one-time message event with id=OBR_READY. ...
Mackie Messer's user avatar
1 vote
1 answer
43 views

I'm using Svelte 5 and TypeScript in VS Code. I'm running into an issue where the TS language server thinks that the style attribute is not valid for a <div>, which is obviously incorrect. I'm ...
Jeff Hobson's user avatar
0 votes
0 answers
20 views

<script> import { Svelvet, Node, Edge } from 'svelvet'; // Make these reactive by declaring them with let // let nodes = [ // { // id: 'start', // position: { x: 100, y: ...
Vishnu's user avatar
  • 1
1 vote
1 answer
106 views

I get this message in my terminal when running my svelte frontend: Avoid calling fetch eagerly during server side rendering — put your fetch calls inside onMount or a load function instead I ...
TheCommoner282's user avatar
-1 votes
3 answers
316 views

I'm trying to import a .wasm file on Vercel Edge in SvelteKit. The module I'm using is @resvg/resvg-wasm. When I try like so: import wasmInline from '@resvg/resvg-wasm/index_bg.wasm?inline'; ... await ...
Jonathan's user avatar
  • 4,135
0 votes
1 answer
85 views

I have a SvelteKit project hosted on Netlify, and the idea is that if a user accesses the route mynetlifyproject.com/route, it should render content from another domain, specifically from app....
Thiago David's user avatar
2 votes
2 answers
156 views

I wrote a site in SvelteKit and the navigation between pages felt really fast because, SvelteKit on hover, runs the load functions of the pages, downloads everything to the client and on click, it ...
berinaniesh's user avatar
2 votes
1 answer
62 views

I am making a web app which sends some requests to external APIs which can take some time to complete. The user types information in a form, which is received by a +page.server.ts file in the default ...
Soly's user avatar
  • 35
0 votes
0 answers
24 views

I have some storybook components with loaders. I am using svelte CSF. Individually they load the mock data and display properly, but on autodocs they appear as if the loader never fires. <script ...
Ben Quan's user avatar
  • 839
1 vote
1 answer
1k views

I'm trying to implement better-auth for a project. I've followed their great docs, but get 404 errors. Specifically, "GET http://localhost:5173/api/auth/get-session 404 (Not Found)" when I ...
user1505631's user avatar
1 vote
0 answers
101 views

I'm developing a SvelteKit application and I try to use Vitest to run some tests. I want to test a simple API endpoint: // src/routes/api/test/+server.ts import { testService } from '$lib/server/...
electrotype's user avatar
  • 8,885
0 votes
0 answers
49 views

I have an issue when reloading page in dev and production mode breaks CSS. I see that first page load sets body to 60% width while after reloading it sets to 100%. It happens only in child pages. My ...
krautcat's user avatar
0 votes
0 answers
23 views

trying to implement AuthJS in Sveltekit with Twitch Provider and Credentials Provider. Twitch Provider is working. But in Credentials where I want that the User can register with email username and ...
JrWebDev's user avatar
  • 126
0 votes
1 answer
46 views

I have this piece of code: <script lang="ts"> let visible = $state(false); </script> <div role="button" tabindex="0" onmouseenter={() =>...
Valentin Vignal's user avatar
0 votes
0 answers
102 views

I am using Svelte5. When I send an array from +page.server.js to +page.svelte it always works server-side and the array is sent as expected. However when +page.svelte is running on the client side ...
k4mars's user avatar
  • 21

1
2 3 4 5
61