id.react.dev icon indicating copy to clipboard operation
id.react.dev copied to clipboard

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

Open Juanryhn opened this issue 1 year ago • 2 comments

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

Juanryhn avatar Jun 28 '24 15:06 Juanryhn

@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 avatar Jun 29 '24 04:06 resir014

@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

Juanryhn avatar Jun 29 '24 07:06 Juanryhn

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

Best to wait for upstream to fix it. There's currently a PR to fix it there.

resir014 avatar Jul 11 '24 12:07 resir014

Ohh ya sure !, Thanks

Juanryhn avatar Jul 11 '24 14:07 Juanryhn