TanStack / TanStack/router

TanStack Start deployment fails on Azure Static Web Apps

Open
#7,826 1 comment 0 reactions 0 assignees View on GitHub

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
  1. Create a TanStack Start app.
  2. go to the Azure Static Web App dashboard.
  3. import project
  4. configure and deploy
  5. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.