TanStack Start deployment fails on Azure Static Web Apps
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.1k
- Forks
- 1.9k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 143
Description
Which project does this relate to?
Start
Describe the bug
Deploying a TanStack Start app to Azure Static Web Apps does not work directly
Complete minimal reproducer
https://github.com/imxade/harbur
Steps to Reproduce the Bug
- Create a TanStack Start app.
- go to the Azure Static Web App dashboard.
- import project
- configure and deploy
- check the url after an hour
Expected behavior
The apps should work just like on Vercel without hacky workarounds.
Platform
- Start Version: 1.120.20
- OS: Azure Static Web Apps
- Bundler: vite
- Bundler Version: 8.0.10
- Nitro: 3.0.1-nightly
Additional context
reference: https://github.com/Xiang-CH/tanstack-azure-swa-template
Contributor 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.
Research direction
Start by deploying the linked minimal reproducer, https://github.com/imxade/harbur, through Azure Static Web Apps and inspect the deployment output and resulting URL. Compare the setup with the referenced tanstack-azure-swa-template. Done means a TanStack Start app deploys successfully and its URL works without a workaround.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, typescript, vite
- Domain
- cloud, devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100