Steps to Reproduce
- Create a new project with
npm create convex@latest and select TanStack Start and AuthKit
- Run
npm install and npm run dev
- Set up WorkOS env values
- Open http://localhost:3000 in your browser
- Check browser console for the error
Expected Behavior
The page should render correctly with <Authenticated> and <Unauthenticated> components conditionally displaying their children based on auth state.
Actual Behavior
Browser console shows SyntaxError for the iron-session cookie module.
Uncaught (in promise) SyntaxError: The requested module '/node_modules/iron-session/node_modules/cookie/index.js?v=54184f55' does not provide an export named 'parse' (at index.js?v=54184f55:1:21)
Content inside <Authenticated> and <Unauthenticated> does not render. Page appears broken/blank