Skip to main content
-1 votes
1 answer
29 views

passing children's layout.ts data to parent's layout.svelte

So I have been working on the implementation of breadcrumbs feature in my sveltekit webapp. The idea is, the breadcrumb will be rendering at the most top layout.svelte. And then the proceeding ...
Muhammad Najid's user avatar
0 votes
0 answers
38 views

Returning an array from server-side to client-side in Svelte 5

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
  • 11
1 vote
1 answer
35 views

How to invalidate an arbitrary cache?

I have a simple +page.ts showing the data string and providing the "Update" button: <script lang="ts"> import { invalidateAll } from '$app/navigation'; const { data }...
Seva Golovanov's user avatar
0 votes
1 answer
40 views

Building Svelte Kit application for deployment on Azure webapps

I have built a Svelte Kit application that utilises a couple of Microsoft Graph endpoints to pull from our internal news SharePoint sites. It works perfectly fine in dev and when I use the preview ...
Charlie's user avatar
0 votes
1 answer
41 views

How to delete the user after logout in Sveltekit using runes?

I am trying to get auth working in my sveltekit 2.20.7 / svelte 5.27.0 application I have an express backend that runs on port 8000 and uses express-session with connect-redis and passport to provide ...
PirateApp's user avatar
  • 6,278
0 votes
0 answers
37 views

why does svelte-kit dev return "Invalid command: dev" error?

I am trying to run a svelte project with the following command > npm run dev but I am getting this error ERROR Invalid command: dev Run `$ svelte-kit --help` for more info. svelte-kit is ...
Prat13k's user avatar
  • 31
1 vote
2 answers
82 views

How to check when window becomes available?

I am new to SvelteKit and I am not familiar with SSR. I have recently learned that window is only defined after the client-side has been loaded, which can be determined with the onMount hook. But here'...
Donald Zhu's user avatar
0 votes
1 answer
23 views

Using IntersectionObserver breaks SvelteKit prerender, which results in 404 on direct urls

I have a static site that I deploy to GitHub pages (GHP). I first build it locally and then deploy the output to GHP. Which is why all the data is in JSON files that are updated and deployed when eg. ...
Juha Untinen's user avatar
  • 1,887
0 votes
0 answers
40 views

Login is possible but my supabase user / session is not "authenticated", GoTrueClient getSession() session from storage null

The stack: SvelteKit / Supabase (with docker) To authenticate the users i followed the supabase tutorial (so my code strictly follows that). It works as i receive the user's data (profile, session...)....
alegarn's user avatar
0 votes
1 answer
21 views

Google App Engine - endpoint "GET /_ah/start HTTP/1.1" 500

When updating my application's configuration from scaling to manual, I repeatedly encountered this error in the console: Error: Cannot find module '/workspace/index.js', followed by multiple errors of ...
gru's user avatar
  • 41
0 votes
1 answer
47 views

SvelteKit container on Azure App Service page rewrite issue /project/1 being ameneded to /project/undefined/project/1?

I have a SvelteKit with Svelte 5 application which I am deploying to the Azure App Service inside of a Docker container. I have routes with a parameter set up like: route/ - project - [id] ...
sean_robbins's user avatar
0 votes
1 answer
48 views

MatterJS Ball Not Affected by Gravity in version 0.20.0

I'm trying to integrate a game, built with matter-js, into my existing SvelteKit webapp but am getting stumped as to why gravity is not affecting the circle body I'm adding. The following is the ...
ClosingArc's user avatar
0 votes
1 answer
18 views

SvelteKit Duplicate Routes in Layout Groups

Is it possible to have the same route be on different layout groups in SvelteKit. I want to have two different layout groups "/(private)/(app)" and "/(public)/(landing)" that ...
Rey Christian Eustaquio's user avatar
0 votes
1 answer
26 views

How to trigger LayoutServerLoad on every navigation in SvelteKit?

I want to add a JWT verification/refresh in +layout.server.ts that is called on every navigation action. I've got following code and noticed that the console.log() statement is only ran, when I reload ...
ReisMiner's user avatar
-1 votes
0 answers
44 views

Having trouble promisifying Google ReCAPTCHA v2 Invisible in Svelte 5 / Sveltekit 2

I have been trying to get Google ReCAPTCHA v2 invisible work with sveltekit 2 / svelte 5 and I have run into a few issues First of all this is the documentation for how to load CAPTCHA in your ...
PirateApp's user avatar
  • 6,278

15 30 50 per page
1
2 3 4 5
202