Skip to content

Imported demo project uses double quotes causing crash. #217

@elebumm

Description

@elebumm

Which project does this relate to?

Start

Describe the bug

When using TanStack Start cli, after going through all of the stages, running pnpm dev doesn't start because of an issue in tanchat.tsx

> startest@ dev C:\Users\lewis\startest
> vite dev --port 3000


  VITE v7.1.12  ready in 3655 ms

  ➜  Local:   http://localhost:3000/
  ➜  Network: use --host to expose
  ➜  press h + enter to show help
(!) Failed to run dependency scan. Skipping dependency pre-bundling. Error:   Failed to scan for dependencies from entries:
  C:/Users/lewis/startest/node_modules/.pnpm/@tanstack+react-start@1.133_c30e968a020d65dab4ebdd75906f867f/node_modules/@tanstack/react-start/dist/plugin/default-entry/client.tsx
C:/Users/lewis/startest/src/router.tsx

  ✘ [ERROR] Expected ">" but found ","

    src/routes/demo/tanchat.tsx:150:60:
      150 │ ...placeholder="Type something clever (or don"t, we won"t judge)..."
          │  

Your Example Website or App

http://localhost:3000

Steps to Reproduce the Bug or Issue

Currently on Windows 11 and Powershell.

  1. pnpm create @tanstack/start@latest
  2. What would you like to name your project? > startest
  3. Would you like to use Tailwind CSS? > Yes
  4. Select toolchain > Biome
  5. What add-ons would you like for your project? > Form, Shadcn, Store, Query
  6. Would you like any examples? > Tanstack Chat
  7. cd startest && pnpm dev

Expected behavior

Startup without error.

Screenshots or Videos

No response

Platform

  • Router / Start Version: latest
  • OS: Windows 11
  • Browser: Chrome
  • Browser Version:
  • Bundler: vite
  • Bundler Version: 7.1.7

Additional context

The fix is simple:

The placeholder in the textarea on line 150 in tanchat.tsx needs to replace the double quotes in the text and replace with a single quote.

placeholder="Type something clever (or don't, we won't judge)..."

Tried to look how this was being created but wasn't able to find it.

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