[🐞] Sitemap is always empty when deploy in Vercel with vercelEdgeAdapter
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- typescript
Research direction
Use the linked reproduction repository and run pnpm run build plus pnpm run preview, then deploy with vercel --prod; compare sitemap.xml locally and on Vercel. Start with Qwik City routing and the vercelEdgeAdapter, and consider the work done when the deployed sitemap contains the same links as the local preview.
Written by the indexing model from the issue text.
Description
Which component is affected?
Qwik City (routing)
Describe the bug
- I followed the documentation here.
- I can see the generated sitemap in dev mode
- The sitemap is generated in prod mode as well (
npm run buildandnpm run preview)
Issues
When I deploy to vercel (vercel --prod), the sitemap is empty
Reproduction
https://debug-sitemap-qwik.vercel.app/sitemap.xml
Steps to reproduce
- Clone the repo.
Local build
- pnpm run build
- pnpm run preview
Visit the http://localhost:4173/sitemap.xml, and see, all links are there.
Deploy on vercel
vercel --prod
Result of sitemap
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> </urlset>
System Info
Firefox Developer Edition: 148.0.2
npmPackages:
@builder.io/qwik: ^1.19.2 => 1.19.2
@builder.io/qwik-city: ^1.19.2 => 1.19.2
typescript: 5.4.5 => 5.4.5
undici: * => 7.24.4
vite: 7.3.1 => 7.3.1
Additional Information
No response
- Dominant language
- TypeScript
- Stars
- 22.1k
- Forks
- 1.4k
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 98
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from QwikDev/qwik
-
docs router V2
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
DX enhancement V2
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
QwikDev/qwik#8480 · 2 comments ·
Maintainers usually reply within 1 day
-
[🐞] SSG (rc.0+) ignores ssr.noExternal: bundled deps are left external in the new "ssg" environmentOpen
Difficulty 4/5 3-5 days Newbie friendliness 52/100
QwikDev/qwik#9183 · 1 comment ·
Maintainers usually reply within 1 day
-
[🐞] <Pending> child reading a signal from its owner breaks when the owner re-renders (consumerBackRef[_EFFECT_BACK_REF].set is not a function)Possibly taken @intellix claimed this 2 days ago. Open
Difficulty 3/5 1-2 days Newbie friendliness 35/100
Maintainers usually reply within 1 day
-
[🐞] Async useComputed$ resolved in an out-of-order <Pending> re-runs on the client at the first unrelated re-renderPossibly taken @intellix claimed this 2 days ago. Open
Difficulty 4/5 3-5 days Newbie friendliness 25/100
Maintainers usually reply within 1 day
Similar issues
-
Tenant
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
MTES-MCT/Dossier-Facile-Frontend#2061 ·
Maintainers usually reply within 1 day
-
area:frontend
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
interledger/publisher-tools#905 ·
Maintainers usually reply within 1 day
-
Add: Cbeebies PL SDOpenapproved check:passed streams:add
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
iptv-org/iptv#54525 · 1 comment ·
Maintainers usually reply within 1 day
-
DB-plane provider_chat_options.* is accepted by config set but never merged into the loaded configOpen
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
area:web
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
praetorianer777/GoTome#178 ·
Maintainers usually reply within 1 day