Skip to content

Start: Hosting page is outdated #4500

Closed

Description

@juliomuhlbauer

Which project does this relate to?

Start

Describe the bug

Hosting page is outdated in sections like Cloudflare

Your Example Website or App

https://tanstack.com/start/latest/docs/framework/react/hosting

Steps to Reproduce the Bug or Issue

Go to the Cloudflare section: https://tanstack.com/start/latest/docs/framework/react/hosting

Expected behavior

Showed the config with vite.config.ts

Screenshots or Videos

No response

Platform

.

Additional context

No response

Activity

  1. Folyd commented on Jun 22, 2025

    @Folyd

    My project deoply cloudflare pages failed, here is the log:

    {
      "wallTime": 1,
      "cpuTime": 1,
      "truncated": false,
      "executionModel": "stateless",
      "outcome": "ok",
      "scriptVersion": {
        "id": "b9a02306-4a17-428b-903b-4ceeef107c0f"
      },
      "scriptName": "pages-worker--5749616-production",
      "diagnosticsChannelEvents": [],
      "exceptions": [],
      "logs": [
        {
          "message": [
            "[request error] [unhandled] [GET] https://geddle.com/\n",
            {
              "message": "getDefaultExportFromNamespaceIfNotNamed(...) is not a function",
              "statusCode": 500
            }
          ],
          "level": "error",
          "timestamp": 1750603983360
        }
      ],
      "eventTimestamp": 1750603983359,
      "event": {
        "request": {
          "url": "https://geddle.com/",
          "method": "GET",
          "headers": {

    Here is my vite.config.js:

    import { defineConfig } from "vite";
    import tailwindcss from "@tailwindcss/vite";
    import tsConfigPaths from 'vite-tsconfig-paths'
    import { tanstackStart } from '@tanstack/react-start/plugin/vite'
    import { cloudflare } from 'unenv';
    
    // https://vitejs.dev/config/
    export default defineConfig(() => {
        return {
            plugins: [
                tsConfigPaths(), 
                tanstackStart({
                    server: {
                        preset: 'cloudflare-pages',
                        unenv: cloudflare,
                    } as any,
                }),
                tailwindcss(),
            ],
        };
    });
    "dependencies": {
        "@hookform/resolvers": "^4.1.3",
        "@tabler/icons-react": "^3.34.0",
        "@tailwindcss/vite": "^4.1.10",
        "@tanstack/react-query": "^5.80.7",
        "@tanstack/react-query-devtools": "^5.80.7",
        "@tanstack/react-router": "^1.121.16",
        "@tanstack/react-router-devtools": "^1.121.16",
        "@tanstack/react-start": "^1.121.16",
        "axios": "^1.9.0",
        "class-variance-authority": "^0.7.1",
        "clsx": "^2.1.1",
        "cmdk": "^1.1.1",
        "date-fns": "^4.1.0",
        "framer-motion": "^12.17.0",
        "gray-matter": "^4.0.3",
        "js-cookie": "^3.0.5",
        "lucide-react": "^0.483.0",
        "next-themes": "^0.4.6",
        "react": "^19.0.0",
        "react-dom": "^19.0.0",
        "react-hook-form": "^7.57.0",
        "react-share": "^5.2.2",
        "reading-time": "^1.5.0",
        "tailwind-merge": "^2.6.0",
        "tailwindcss": "^4.1.10",
        "unenv": "^1.10.0",
        "vite": "^6.3.5",
        "zod": "^3.24.2"
      }
    
  2. brenelz commented on Jul 10, 2025

    @brenelz
    Contributor
  3. brenelz commented on Aug 2, 2025

    @brenelz
    Contributor

    Since this seems to be pretty quiet I will close this issue for now. Docs are an ongoing effort. So over time this will get better

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions