# Troubleshooting If you do not yet know whether the issue is CSS, peers, SSR, or custom-tag wiring, start with [Troubleshooting by Symptom](/guide/troubleshooting-path) first. If something breaks, here are common fixes: - If you get `window is not defined` during SSR, wrap components in `` for Nuxt and use the `onMounted` guard for Vite SSR. - Install `katex` when math rendering fails, and import `katex/dist/katex.min.css` in your app entry. - For Mermaid issues, upgrade or pin `mermaid` to a version >= 11 and check asynchronous render logs. - If you load KaTeX/Mermaid via CDN `