You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the <Markdown> component from @astrojs/markdown-component and running astro build now generates a console error:
The <Markdown> component is not available in SSR. See https://github.com/withastro/rfcs/discussions/179 for more info.
This is despite the fact that it is being used in SSG mode.
It didn't use to do with this before 2.6.
I'm guessing this is due to the redirects work in #7067 since that made us stop using onlyAvailableInSSR (which, it seems like we probably could have deleted at that point).
You can reproduce this in the linked-to StackBlitz container by running npx astro build from the command line.
What version of
astro
are you using?2.6.1
Are you using an SSR adapter? If so, which one?
No
What package manager are you using?
yarn
What operating system are you using?
Linux
What browser are you using?
Firefox
Describe the Bug
When using the
<Markdown>
component from@astrojs/markdown-component
and runningastro build
now generates a console error:This is despite the fact that it is being used in SSG mode.
It didn't use to do with this before 2.6.
I'm guessing this is due to the redirects work in #7067 since that made us stop using
onlyAvailableInSSR
(which, it seems like we probably could have deleted at that point).You can reproduce this in the linked-to StackBlitz container by running
npx astro build
from the command line.Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-ch7wk5?file=src%2Fpages%2Findex.astro
Participation
The text was updated successfully, but these errors were encountered: