reactjs / id.react.dev

(Work in progress) React documentation website in Indonesian
https://id.react.dev
Creative Commons Attribution 4.0 International
310 stars 259 forks source link

Dev error: "Blog posts must include an author in the metadata, for RSS feeds" #709

Open Juanryhn opened 4 days ago

Juanryhn commented 4 days ago

Summary

When I run react web locally it returns an error like this

image

But when I ask other contributor they don't have error like me. But I think I know the error comes from. It is from src/content/blog/index.md

image

This file doesn't have data for author, date and description that will check in file rss.js

Page

https://id.react.dev/ || local

Details

Is there something missing step ?

I just forked and clone the repo, then run yarn > yarn dev. And it return error that I mentioned in the summary

resir014 commented 4 days ago

@Juanryhn This is a bug related to upstream react.dev project. Will raise an issue there so it could be fixed.

In the meantime, the workaround is to either push your changes in your branch and see how it looks via the preview link, or remove this line during development.

Juanryhn commented 4 days ago

@Juanryhn This is a bug related to upstream react.dev project. Will raise an issue there so it could be fixed.

In the meantime, the workaround is to either push your changes in your branch and see how it looks via the preview link, or remove this line during development.

@resir014 Oh I see. But if I have solution for this error can I make a PR ? or just wait for other fix this error