Skip to content
Init is coming / May 19 - 23
Back

Sveltekit starter template doesn't work

  • 0
  • General
  • Auth
  • Web
Old fella
18 Dec, 2024, 23:09

https://github.com/appwrite/starter-for-svelte

nor

https://github.com/appwrite/demos-for-svelte

work out of the box , even if I install npm i the inital error is

TypeScript
|- TypeError: Cannot read properties of undefined (reading 'replace')
   at Client.setEndpoint```
TL;DR
The Sveltekit starter template isn't working due to a missing change in the `PUBLIC_APPWRITE_ENDPOINT` and modification to the `.env` file. Even after running `npm i`, errors persist relating to the SSR module. Consider checking the GitHub repositories for updates or consult the documentation for troubleshooting.
Old fella
18 Dec, 2024, 23:10
Old fella
18 Dec, 2024, 23:23

oh I think I edited .env file as suggested by github copilot then build the project

Old fella
18 Dec, 2024, 23:25
Old fella
18 Dec, 2024, 23:33

oh I should change the PUBLIC_APPWRITE_ENDPOINT as well

Old fella
18 Dec, 2024, 23:34

nope

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more