im trying to add starlight docs to my website but all im getting is
error Cannot read properties of undefined (reading 'render')
File:
/opt/dev/ascellav3/ascella-web/opt/dev/ascellav3/node_modules/.pnpm/@astrojs+starlight@0.4.1_astro@2.7.2/node_modules/@astrojs/starlight/index.astro:12:55
Stacktrace:
TypeError: Cannot read properties of undefined (reading 'render')
at /opt/dev/ascellav3/node_modules/.pnpm/@astrojs+starlight@0.4.1_astro@2.7.2/node_modules/@astrojs/starlight/index.astro:12:55
at index (/opt/dev/ascellav3/node_modules/.pnpm/astro@2.7.2/node_modules/astro/dist/runtime/server/astro-component.js:19:12)
at renderPage (file:///opt/dev/ascellav3/node_modules/.pnpm/astro@2.7.2/node_modules/astro/dist/runtime/server/render/page.js:96:36)
at renderPage (file:///opt/dev/ascellav3/node_modules/.pnpm/astro@2.7.2/node_modules/astro/dist/core/render/core.js:109:24)
at renderPage (file:///opt/dev/ascellav3/node_modules/.pnpm/astro@2.7.2/node_modules/astro/dist/core/render/dev/index.js:133:16)
at async handleRoute (file:///opt/dev/ascellav3/node_modules/.pnpm/astro@2.7.2/node_modules/astro/dist/vite-plugin-astro-server/route.js:167:20)
at async run (file:///opt/dev/ascellav3/node_modules/.pnpm/astro@2.7.2/node_modules/astro/dist/vite-plugin-astro-server/request.js:47:14)
at async runWithErrorHandling (file:///opt/dev/ascellav3/node_modules/.pnpm/astro@2.7.2/node_modules/astro/dist/vite-plugin-astro-server/controller.js:65:5)
at async handleRequest (file:///opt/dev/ascellav3/node_modules/.pnpm/astro@2.7.2/node_modules/astro/dist/vite-plugin-astro-server/request.js:41:3)
(x2)
is there a workaround to make starlight work with ssr and cloudflare adapter?