Built TanStack Start (Solid) project from create-tsrouter-app not serving client code/assets
My Setup and Steps:
Creation Command: npx create-tsrouter-app@latest --framework solid
CLI Options Chosen:
Router: TanStack Router (File-based)
State Management: TanStack Store
Environment Variables: Te3Env
UI Library: Solid UI
Form Library: TanStack Form
Build Command: npm run build (completes successfully)
Start Command: "start": "pnpx srvx --prod -s ../client dist/server/server.js",
The Problem:
After running npm run start and opening the page in a browser, the static HTML from the server loads, but all the associated JavaScript and CSS files return 404 Not Found errors in the network tab. The page is non-interactive and unstyled.
even the example didn't work after sucessful build