svelteness / kit-docs

Documentation integration for SvelteKit.
https://kitdocs.vercel.app
MIT License
472 stars 33 forks source link

500 Error Pages on AWS Deployment using SST Kit Framework #101

Open ganimp84 opened 3 months ago

ganimp84 commented 3 months ago

Description

I have created a Svelte project that uses markdown-based pages with KitDocs following the documentation here. The project works perfectly in the local environment. However, when deploying this project on AWS infrastructure using the SST(https://docs.sst.dev/what-is-sst) kit framework, I encounter 500 error pages.

It seems the meta and sidebar URLs aren't returning anything, leading to the errors.

Steps to Reproduce

Create a Svelte project with KitDocs as described in the documentation. Deploy the project to AWS using the SST kit framework. Visit the deployed site. Expected Behavior The site should display the markdown-based pages with the correct content, meta and sidebar information.

Actual Behavior

The site returns 500 error pages. The meta and sidebar URLs seem to be failing (returning empty response), causing the pages to break.

Additional Context KitDocs version: 1.1.5 SST Kit version: 2.43.1

Appreciate your input on this.