skeletonlabs / skeleton

A complete design system and component solution, built on Tailwind.
https://skeleton.dev
MIT License
4.89k stars 305 forks source link

NEXT resolve Astro doc site project dependency error #2782

Closed endigo9740 closed 1 month ago

endigo9740 commented 1 month ago

During our last round of dependency updates a breaking issue was introduced that's preventing the Astro doc site project from building properly. The following error is provided:

Screenshot 2024-07-29 at 2 50 21 PM

[TypeError] Cannot read properties of undefined (reading 'title')
Hint: This issue often occurs when your MDX component encounters runtime errors.

We should focus on Astro's dependencies, especially anything related to MDX.

Note that this issue can be replicated locally by running pnpm build in the Astro project.

endigo9740 commented 1 month ago

We issued a temporary work around in this PR, as well as recommended next steps. This will involve creating a minimal reproduction to submit to Astro asap:

endigo9740 commented 1 month ago

Solve by: https://github.com/skeletonlabs/skeleton/pull/2778