Skip to content

Issue in the React Tutorial on Windows #11

Description

@Virajs98

Hi! I was following the React tutorial (https://docs.convex.dev/tutorial/overview) on Windows and ran into an issue. When adding the dev script to package.json exactly as documented: "dev": "convex dev --start 'vite --open'"

Running npm run dev fails on Windows with the error: error: unknown option '--open''.

The Fix: It works perfectly on Windows if the single quotes are replaced with escaped double quotes instead: "dev": "convex dev --start "vite --open""

It might be helpful to update the docs/templates so Windows users don't get stuck here!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions