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!
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!