Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to render Content error only on Astrov3 #8421

Closed
1 task done
ispringle opened this issue Sep 5, 2023 · 1 comment
Closed
1 task done

Unable to render Content error only on Astrov3 #8421

ispringle opened this issue Sep 5, 2023 · 1 comment
Labels
needs triage Issue needs to be triaged

Comments

@ispringle
Copy link

Astro Info

Astro                    v3.0.8
Node                     v18.17.0
System                   macOS (arm64)
Package Manager          yarn
Output                   static
Adapter                  none
Integrations             astro-org
                         astro-icon
                         @astrojs/sitemap
                         astro-compress

If this issue only occurs in one browser, which browser is a problem?

No response

Describe the Bug

When using Astro v3, Astro errors stating that it cannot render "Content" and states that "No valid renderer was found for this file extension." I believe it means that it cannot find any renderer for the .org (Orgmode) file extension however this integration is loaded (astro-org). This integration works perfectly when using Astro v2 and has for almost a year now. I spoke with someone on the Discord server in the dev channel and it was said that the move to Astro v3 shouldn't have caused any integrations to break, so I'm wondering if this might be an Astro issue or maybe there was a breaking change in the integration API that I haven't found documented yet?

What's the expected result?

I expect that this would successfully build a site using Orgmode files as source in place of markdown.

To see what I expect, you can change the astro version in the example to v2 and it will start working.

Link to Minimal Reproducible Example

https://stackblitz.com/edit/github-gzy1ea?file=package.json

Participation

  • I am willing to submit a pull request for this issue.
@github-actions github-actions bot added the needs triage Issue needs to be triaged label Sep 5, 2023
@lilnasy
Copy link
Contributor

lilnasy commented Sep 6, 2023

I haven't looked in-depth, but astro-org doesn't seem to be registering a renderer at all. It worked for astro 2.x by directly inserting vite plugins. Integration code. It also depends on jsxImportSource: 'astro', which no longer exists.

I think it's up to the integration to update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage Issue needs to be triaged
Projects
None yet
Development

No branches or pull requests

2 participants