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

Cannot generate static html whose' data is fetched remotely in content loader. #13090

Open
1 task done
HawtinZeng opened this issue Jan 30, 2025 · 2 comments
Open
1 task done
Labels
needs triage Issue needs to be triaged

Comments

@HawtinZeng
Copy link

Astro Info

Astro                    v5.1.10
Node                     v20.17.0
System                   Windows (x64)
Package Manager          npm
Output                   static
Adapter                  none
Integrations             @astrojs/mdx
                         @astrojs/sitemap
                         @astrojs/tailwind
                         @astrojs/react

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

No response

Describe the Bug

Cannot generate static html whose' data is fetched remotely in content loader.

What's the expected result?

Build static html files.

Link to Minimal Reproducible Example

https://stackblitz.com/~/github.com/HawtinZeng/hawtin-blog

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 Jan 30, 2025
@HawtinZeng
Copy link
Author

Reproduce process:

  1. npm install -f.
  2. npm run build.
  3. delete jokes export in content/config.ts.
  4. npm run build.cannot generate blog html.

@ascorbic
Copy link
Contributor

@HawtinZeng Could you reduce the reproduction into something more minimal, rather than an actual site

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