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

RSS Feed shows 404 page #67

Open
FZhg opened this issue Mar 12, 2024 · 1 comment
Open

RSS Feed shows 404 page #67

FZhg opened this issue Mar 12, 2024 · 1 comment

Comments

@FZhg
Copy link

FZhg commented Mar 12, 2024

Environment Details

Ubuntu 22.04
Node 18.16.0
Package Manager: pnpm

Steps to Reproduce

Run

pnpm run dev

image

Actually, this bug can be seen on the netlify demo.

Run

pnpm run build

The build output directory dist will not contain a file rss.xml.

Additional Fix

After fixing this issue, the rss feed page need a style template to give clear instructions for subscribers.

FZhg added a commit to FZhg/astrofy that referenced this issue Mar 12, 2024
FZhg added a commit to FZhg/astrofy that referenced this issue Mar 12, 2024
@jsparedes
Copy link

I had the same issue: 404 for rss.xml (even in development mode)

Doing an upgrade about the dependencies solved the problem:

Tested dependencies versions in package.json file:

  "dependencies": {
    "@astrojs/mdx": "^3.1.8",
    "@astrojs/rss": "4.0.8",
    "@astrojs/sitemap": "^3.2.0",
    "@astrojs/tailwind": "^5.1.2",
    "astro": "^4.16.2",
    "daisyui": "^4.12.13",
    "dayjs": "^1.11.13",
    "sharp": "^0.33.5",
    "tailwindcss": "^3.4.13"
  },
  "devDependencies": {
    "@tailwindcss/typography": "^0.5.15",
    "wrangler": "^3.80.4"
  }

wrangler is only necessary if you are using cloudflare

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

No branches or pull requests

2 participants