Internal server error when going to homepage
Describe the bug
When I go to the homepage from a link from docs the website doesn't work
Reproduction
When I go to the homepage from a link from docs the website doesn't work
Flowbite version and System Info
System:
OS: macOS 13.4.1
CPU: (12) x64 Intel(R) Core(TM) i5-10600 CPU @ 3.30GHz
Memory: 30.45 GB / 72.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 18.13.0 - ~/.nvm/versions/node/v18.13.0/bin/node
Yarn: 1.22.19 - ~/.nvm/versions/node/v18.13.0/bin/yarn
npm: 8.19.3 - ~/.nvm/versions/node/v18.13.0/bin/npm
Browsers:
Chrome: 118.0.5993.70
Firefox: 115.0.2
Safari: 16.5.2
Is it down now?
Hey @shinokada,
This happens if I go to any docs page and then navigate back to the homepage via the logo.
Also happens when I visit when coming from Google - I will attach a video too.
Some other users confirmed this too on Discord.
https://github.com/themesberg/flowbite-svelte/assets/8052108/09e6fa9a-0319-4d08-90a4-74e26a529712
Thank you for looking over this!
Cheers, Zoltan
It seems it happens when a new commit is pushed and while Vercel is building the deployment. But I am not 100 % sure.
Hey @shinokada,
Yes, it works now. That could be it.
The website still keeps going down several times a day and I think it's not only when Vercel is building.
For example, now it is down again and I don't think anything happened like a release or deployment.
@shinokada
I've done:
- tested locally:
pnpm test:integration - build locally and preview:
pnpm build && pnpm preview
but I can't find any problem. I will re-deploy on vercel.
Im also having this issue
macOS 14 Chrome
@shinokada our uptime application:
It seems related to incorrect $page store use. Got it on my local machine.
Error: Cannot subscribe to 'page' store on the server outside of a Svelte component, as it is bound to the current request via component context. This prevents state from leaking between users.For more information, see https://kit.svelte.dev/docs/state-management#avoid-shared-state-on-the-server at get_store (C:\Users\mvanh\source\repos\flowbite-svelte\node_modules\@sveltejs\kit\src\runtime\app\stores.js:89:9) at Object.subscribe (C:\Users\mvanh\source\repos\flowbite-svelte\node_modules\@sveltejs\kit\src\runtime\app\stores.js:35:24) at Module.subscribe (C:\Users\mvanh\source\repos\flowbite-svelte\node_modules\svelte\src\runtime\internal\utils.js:139:22) at eval (C:/Users/mvanh/source/repos/flowbite-svelte/src/routes/+layout.svelte:36:45) at Object.$$render (C:\Users\mvanh\source\repos\flowbite-svelte\node_modules\svelte\src\runtime\internal\ssr.js:156:16) at eval (C:/Users/mvanh/source/repos/flowbite-svelte/.svelte-kit/generated/root.svelte:70:129) at $$render (C:\Users\mvanh\source\repos\flowbite-svelte\node_modules\svelte\src\runtime\internal\ssr.js:156:16) at Object.render (C:\Users\mvanh\source\repos\flowbite-svelte\node_modules\svelte\src\runtime\internal\ssr.js:164:17) at Module.render_response (C:/Users/mvanh/source/repos/flowbite-svelte/node_modules/@sveltejs/kit/src/runtime/server/page/render.js:187:29) at async Module.render_page (C:/Users/mvanh/source/repos/flowbite-svelte/node_modules/@sveltejs/kit/src/runtime/server/page/index.js:295:10)
Can you check https://flowbite-svelte.com it again? And please let me know if you get the same error. Thanks.
On my mobile got the error.
On Fri, 20 Oct 2023 at 15:34, Shinichi Okada @.***> wrote:
Can you check this https://flowbite-svelte-m8gatwxla-okadashinichi.vercel.app/? And please let me know if you get the same error. Thanks.
— Reply to this email directly, view it on GitHub https://github.com/themesberg/flowbite-svelte/issues/1123#issuecomment-1772751658, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIPUQER7N3IDXPJGDMPQP3YAJ4WBAVCNFSM6AAAAAA54K4DQWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZSG42TCNRVHA . You are receiving this because you commented.Message ID: @.***>
Can you check https://flowbite-svelte.com it again? And please let me know if you get the same error. Thanks.
Seems to work correctly on desktop now. Maybe mobile was having a cache issue
Links on search results are also broken: Clicking on search suggestion takes to broken link. https://flowbite-svelte.com/docs/components/tab The correct link is https://flowbite-svelte.com/docs/components/tabs
+1 on above comment. https://flowbite-svelte.com/docs/components/tab#mainContent also doesnt work from search results.