TanStack / router

πŸ€– Fully typesafe Router for React (and friends) w/ built-in caching, 1st class search-param APIs, client-side cache integration and isomorphic rendering.
https://tanstack.com/router
MIT License
8.26k stars 658 forks source link

TanStack start quick start does not work with pnpm@7 #2540

Open logan-anderson opened 1 month ago

logan-anderson commented 1 month ago

Which project does this relate to?

Start

Describe the bug

Update: This only happens when using pnpm@7. The fix is to use pnpm@9

I am trying to use TanStack Start. I am following all of the instructions listed in this guide but I am getting a type error in my editor allowing with the following error when I try to open the app on localhost:300

  ➜ Local:    http://localhost:3000/
  ➜ Network:  use --host to expose

ServerFn Request: /Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/app/routes/index.tsx?tsr-split - $$function0

ServerFn Response: 200
 - Payload: 0

Warning: useRouter must be used inside a <RouterProvider> component!
Warning: useRouter must be used inside a <RouterProvider> component!
TypeError: Cannot read properties of null (reading '__store')
    at useRouterState (file:///Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/@tanstack+react-router@1.65.0_nnrd3gsncyragczmpvfhocinkq/node_modules/@tanstack/react-router/dist/esm/useRouterState.js:7:76)
    at OutletImpl (file:///Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/@tanstack+react-router@1.65.0_nnrd3gsncyragczmpvfhocinkq/node_modules/@tanstack/react-router/dist/esm/Match.js:161:19)
    at renderWithHooks (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5724:16)
    at renderIndeterminateComponent (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5798:15)
    at renderElement (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6023:7)
    at renderMemo (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5945:3)
    at renderElement (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6088:11)
    at renderNodeDestructiveImpl (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11)
    at renderNodeDestructive (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14)
    at renderNode (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6336:12)
    at renderChildrenArray (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6288:7)
    at renderNodeDestructiveImpl (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6218:7)
    at renderNodeDestructive (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14)
    at renderNode (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6336:12)
    at renderHostElement (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5708:3)
    at renderElement (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6029:5)
    at renderNodeDestructiveImpl (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11)
    at renderNodeDestructive (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14)
    at renderNode (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6336:12)
    at renderHostElement (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5708:3)
    at renderElement (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6029:5)
    at renderNodeDestructiveImpl (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11)
    at renderNodeDestructive (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14)
    at renderIndeterminateComponent (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5852:7)
    at renderElement (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6023:7)
    at renderNodeDestructiveImpl (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11)
    at renderNodeDestructive (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14)
    at renderNode (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6336:12)
    at renderChildrenArray (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6288:7)
    at renderNodeDestructiveImpl (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6218:7)
    at renderNodeDestructive (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14)
    at renderNode (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6336:12)
    at renderHostElement (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5708:3)
    at renderElement (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6029:5)
    at renderNodeDestructiveImpl (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11)
    at renderNodeDestructive (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14)
    at renderIndeterminateComponent (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5852:7)
    at renderElement (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6023:7)
    at renderNodeDestructiveImpl (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11)
    at renderNodeDestructive (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14)
    at renderIndeterminateComponent (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5852:7)
    at renderElement (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6023:7)
    at renderNodeDestructiveImpl (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11)
    at renderNodeDestructive (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14)
    at renderIndeterminateComponent (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5852:7)
    at renderElement (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6023:7)
    at renderNodeDestructiveImpl (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11)
    at renderNodeDestructive (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14)
    at renderNode (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6336:12)
    at renderChildrenArray (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6288:7)
TypeError: Cannot read properties of null (reading '__store')
    at useRouterState (file:///Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/@tanstack+react-router@1.65.0_nnrd3gsncyragczmpvfhocinkq/node_modules/@tanstack/react-router/dist/esm/useRouterState.js:7:76)
    at OutletImpl (file:///Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/@tanstack+react-router@1.65.0_nnrd3gsncyragczmpvfhocinkq/node_modules/@tanstack/react-router/dist/esm/Match.js:161:19)
    at renderWithHooks (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5724:16)
    at renderIndeterminateComponent (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5798:15)
    at renderElement (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6023:7)
    at renderMemo (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5945:3)
    at renderElement (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6088:11)
    at renderNodeDestructiveImpl (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11)
    at renderNodeDestructive (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14)
    at renderNode (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6336:12)
    at renderChildrenArray (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6288:7)
    at renderNodeDestructiveImpl (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6218:7)
    at renderNodeDestructive (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14)
    at renderNode (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6336:12)
    at renderHostElement (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5708:3)
    at renderElement (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6029:5)
    at renderNodeDestructiveImpl (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11)
    at renderNodeDestructive (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14)
    at renderNode (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6336:12)
    at renderHostElement (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5708:3)
    at renderElement (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6029:5)
    at renderNodeDestructiveImpl (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11)
    at renderNodeDestructive (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14)
    at renderIndeterminateComponent (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5852:7)
    at renderElement (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6023:7)
    at renderNodeDestructiveImpl (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11)
    at renderNodeDestructive (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14)
    at renderNode (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6336:12)
    at renderChildrenArray (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6288:7)
    at renderNodeDestructiveImpl (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6218:7)
    at renderNodeDestructive (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14)
    at renderNode (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6336:12)
    at renderHostElement (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5708:3)
    at renderElement (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6029:5)
    at renderNodeDestructiveImpl (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11)
    at renderNodeDestructive (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14)
    at renderIndeterminateComponent (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5852:7)
    at renderElement (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6023:7)
    at renderNodeDestructiveImpl (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11)
    at renderNodeDestructive (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14)
    at renderIndeterminateComponent (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5852:7)
    at renderElement (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6023:7)
    at renderNodeDestructiveImpl (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11)
    at renderNodeDestructive (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14)
    at renderIndeterminateComponent (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5852:7)
    at renderElement (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6023:7)
    at renderNodeDestructiveImpl (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11)
    at renderNodeDestructive (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14)
    at renderNode (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6336:12)
    at renderChildrenArray (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6288:7)
/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/@tanstack+start@1.66.0_2vgih755xrtm2vdpqocsfyegyq/node_modules/@tanstack/start/dist/esm/server/defaultStreamHandler.js:58
          throw err;
          ^

TypeError: Cannot read properties of null (reading '__store')
    at useRouterState (file:///Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/@tanstack+react-router@1.65.0_nnrd3gsncyragczmpvfhocinkq/node_modules/@tanstack/react-router/dist/esm/useRouterState.js:7:76)
    at OutletImpl (file:///Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/@tanstack+react-router@1.65.0_nnrd3gsncyragczmpvfhocinkq/node_modules/@tanstack/react-router/dist/esm/Match.js:161:19)
    at renderWithHooks (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5724:16)
    at renderIndeterminateComponent (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5798:15)
    at renderElement (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6023:7)
    at renderMemo (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5945:3)
    at renderElement (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6088:11)
    at renderNodeDestructiveImpl (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11)
    at renderNodeDestructive (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14)
    at renderNode (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6336:12)
    at renderChildrenArray (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6288:7)
    at renderNodeDestructiveImpl (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6218:7)
    at renderNodeDestructive (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14)
    at renderNode (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6336:12)
    at renderHostElement (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5708:3)
    at renderElement (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6029:5)
    at renderNodeDestructiveImpl (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11)
    at renderNodeDestructive (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14)
    at renderNode (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6336:12)
    at renderHostElement (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5708:3)
    at renderElement (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6029:5)
    at renderNodeDestructiveImpl (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11)
    at renderNodeDestructive (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14)
    at renderIndeterminateComponent (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5852:7)
    at renderElement (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6023:7)
    at renderNodeDestructiveImpl (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11)
    at renderNodeDestructive (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14)
    at renderNode (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6336:12)
    at renderChildrenArray (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6288:7)
    at renderNodeDestructiveImpl (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6218:7)
    at renderNodeDestructive (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14)
    at renderNode (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6336:12)
    at renderHostElement (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5708:3)
    at renderElement (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6029:5)
    at renderNodeDestructiveImpl (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11)
    at renderNodeDestructive (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14)
    at renderIndeterminateComponent (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5852:7)
    at renderElement (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6023:7)
    at renderNodeDestructiveImpl (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11)
    at renderNodeDestructive (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14)
    at renderIndeterminateComponent (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5852:7)
    at renderElement (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6023:7)
    at renderNodeDestructiveImpl (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11)
    at renderNodeDestructive (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14)
    at renderIndeterminateComponent (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5852:7)
    at renderElement (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6023:7)
    at renderNodeDestructiveImpl (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11)
    at renderNodeDestructive (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14)
    at renderNode (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6336:12)
    at renderChildrenArray (/Users/logananderson-forestry-mac/dev/playground/tanstack-start-test/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6288:7)

Node.js v20.9.0

I also tried

Your Example Website or App

https://stackblitz.com/github/tanstack/router/tree/main/examples/react/start-counter

Steps to Reproduce the Bug or Issue

I am using pnpm with node version v20.9.0

  1. Follow all instructions listed here
  2. run pnpm run dev
  3. see error message (Full error message above)

Expected behavior

I should be able to follow the official docs without an error

Screenshots or Videos

No response

Platform

Additional context

logan-anderson commented 1 month ago

Hmm, tried with npm and it seemed to work strange

ericclemmons commented 1 month ago

Odd. Literally did this yesterday locally with pnpm and had no issues (besides the generated routes not existing at first):

https://tanstack.com/router/latest/docs/framework/react/start/getting-started

node --version && pnpm --version
v20.16.0
9.11.0
logan-anderson commented 1 month ago

Seems to be an issue with pnpm@7

pnpm v7.33.7: does not work pnpm v9.12.1 (latest version): works with no issues

Since pnpm@7 is still pretty widely used. Going to leave this open but update the description

SeanCassiere commented 1 month ago

In addition to the fact that pnpm 7 is no longer supported, plus acknowledging the role of a package manager in this instance which is just for downloading the necessary files correctly onto the filesystem, I'm not sure what we can do on our end to make any reasonable fixes here.

We'll happily welcome any fixes from the community with reference to this issue. Till then, we'd recommend using a version of your package manager that's supported by the respective maintainers.

LeulAria commented 1 month ago

getting this issues with yarn... @SeanCassiere

thomasballinger commented 1 month ago

edit: maybe not related?

I see the Clerk example failing with this with pnpm@9.12.2 on main this morning caae48cf3ae843a30f527fc81d66d52f4973cc80

expand for output ```sh router % git log -1 router % pnpm --version router % pnpm i router % pnpm run build router % cd examples/react/start-clerk-basic/ start-clerk-basic % pnpm i start-clerk-basic % pnpm run dev ``` ```sh tomb@macbookpro router % git log -1 commit caae48cf3ae843a30f527fc81d66d52f4973cc80 (HEAD -> main, upstream/main) Author: Logan Anderson <43075109+logan-anderson@users.noreply.github.com> Date: Thu Oct 24 00:00:54 2024 -0400 refactor(start): update app directory handling in defineConfig function (#2617) Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com> tomb@macbookpro router % pnpm --version 9.12.2 tomb@macbookpro router % git stash pop On branch main Your branch is up to date with 'upstream/main'. Changes not staged for commit: (use "git add ..." to update what will be committed) (use "git restore ..." to discard changes in working directory) modified: examples/react/start-clerk-basic/.env no changes added to commit (use "git add" and/or "git commit -a") Dropped refs/stash@{0} (c34c7a70621ba8eaff8917e754e18b4ebbc670c6) tomb@macbookpro router % pnpm i Scope: all 78 workspace projects Lockfile is up to date, resolution step is skipped Packages: +1454 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Progress: resolved 1454, reused 1446, downloaded 0, added 1454, done dil devDependencies: + @arethetypeswrong/cli 0.16.4 + @eslint-react/eslint-plugin 1.15.0 + @playwright/test 1.48.1 + @tanstack/config 0.13.4 + @types/node 22.7.4 + @types/react 18.3.11 + @types/react-dom 18.3.0 + eslint 9.13.0 + eslint-plugin-react-hooks 5.1.0-rc-fb9a90fa48-20240614 + eslint-plugin-unused-imports 4.1.4 + glob 11.0.0 + jsdom 25.0.1 + nx 19.8.6 + prettier 3.3.3 + publint 0.2.11 + react 18.3.1 + react-dom 18.3.1 + redaxios 0.5.1 + rimraf 6.0.1 + typescript 5.6.3 + typescript51 <- typescript 5.1.6 + typescript52 <- typescript 5.2.2 + typescript53 <- typescript 5.3.3 + typescript54 <- typescript 5.4.5 + typescript55 <- typescript 5.5.4 + vite 5.4.9 + vitest 2.1.3 . preinstall$ node -e "if(process.env.CI == 'true') {console.info('Skipping preinstall...')} else {process.exit(1)}" || npx -y only-allow pnpm └─ Done in 1.8s Done in 22.2s tomb@macbookpro router % pnpm run build > root@ build /Users/tomb/router > nx affected --target=build --exclude=e2e/** --exclude=examples/** NX Affected criteria defaulted to --base=main --head=HEAD NX No tasks were run View logs and run details at https://nx.app/runs/rwWuxTE754 tomb@macbookpro examples % cd examples/react/start-clerk-basic/ tomb@macbookpro start-clerk-basic % pnpm i Scope: all 78 workspace projects ../../.. preinstall$ node -e "if(process.env.CI == 'true') {console.info('Skipping preinstall...')} else {process.exit(1)}" || npx -y only-allow pnpm └─ Done in 1.8s Done in 3.6s tomb@macbookpro start-clerk-basic % pnpm run dev > tanstack-start-example-clerk-basic@ dev /Users/tomb/router/examples/react/start-clerk-basic > vinxi dev vinxi v0.4.3 vinxi starting dev server ♻️ Generating routes... βœ… Processed routes in 276ms (!) Could not auto-determine entry point from rollupOptions or html files and there are no explicit optimizeDeps.include patterns. Skipping dependency pre-bundling. (!) Could not auto-determine entry point from rollupOptions or html files and there are no explicit optimizeDeps.include patterns. Skipping dependency pre-bundling. (x2) ➜ Local: http://localhost:3000/ ➜ Network: use --host to expose ServerFn Request: /Users/tomb/router/examples/react/start-clerk-basic/app/routes/__root.tsx - $$function0 ServerFn Response: 200 - Payload: {"user":{"sessionClaims":null,"sessionId":null,"userId":null,"actor":null,"orgId":null,"orgRole":nul... ServerFn Request: /Users/tomb/router/examples/react/start-clerk-basic/app/routes/__root.tsx - $$function0 ServerFn Response: 200 - Payload: {"user":{"sessionClaims":null,"sessionId":null,"userId":null,"actor":null,"orgId":null,"orgRole":nul... Warning: useRouter must be used inside a component! TypeError: Cannot destructure property 'navigate' of 'useRouter(...)' as it is null. at useNavigate (file:///Users/tomb/router/packages/react-router/dist/esm/useNavigate.js:4:11) at useAwaitableNavigate (file:///Users/tomb/router/node_modules/.pnpm/@clerk+tanstack-start@0.4.15_@tanstack+react-router@packages+react-router_@tanstack+start@pac_6me5y2wcer565gq3bnt4s2wd4a/node_modules/@clerk/tanstack-start/dist/client/useAwaitableNavigate.js:6:20) at ClerkProvider (file:///Users/tomb/router/node_modules/.pnpm/@clerk+tanstack-start@0.4.15_@tanstack+react-router@packages+react-router_@tanstack+start@pac_6me5y2wcer565gq3bnt4s2wd4a/node_modules/@clerk/tanstack-start/dist/client/ClerkProvider.js:18:29) at renderWithHooks (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5724:16) at renderIndeterminateComponent (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5798:15) at renderElement (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6023:7) at renderNodeDestructiveImpl (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11) at renderNodeDestructive (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14) at renderIndeterminateComponent (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5852:7) at renderElement (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6023:7) at renderNodeDestructiveImpl (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11) at renderNodeDestructive (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14) at renderNode (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6336:12) at renderChildrenArray (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6288:7) at renderNodeDestructiveImpl (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6218:7) at renderNodeDestructive (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14) at renderElement (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6048:9) at renderNodeDestructiveImpl (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11) at renderNodeDestructive (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14) at renderIndeterminateComponent (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5852:7) at renderElement (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6023:7) at renderMemo (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5945:3) at renderElement (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6088:11) at renderNodeDestructiveImpl (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11) at renderNodeDestructive (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14) at finishClassComponent (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5754:3) at renderClassComponent (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5762:3) at renderElement (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6020:7) at renderNodeDestructiveImpl (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11) at renderNodeDestructive (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14) at renderIndeterminateComponent (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5852:7) at renderElement (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6023:7) at renderNodeDestructiveImpl (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11) at renderNodeDestructive (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14) at renderIndeterminateComponent (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5852:7) at renderElement (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6023:7) at renderNodeDestructiveImpl (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11) at renderNodeDestructive (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14) at finishClassComponent (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5754:3) at renderClassComponent (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5762:3) at renderElement (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6020:7) at renderNodeDestructiveImpl (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11) at renderNodeDestructive (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14) at renderIndeterminateComponent (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5852:7) at renderElement (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6023:7) at renderNodeDestructiveImpl (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11) at renderNodeDestructive (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14) at renderElement (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6048:9) at renderNodeDestructiveImpl (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11) at renderNodeDestructive (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14) TypeError: Cannot destructure property 'navigate' of 'useRouter(...)' as it is null. at useNavigate (file:///Users/tomb/router/packages/react-router/dist/esm/useNavigate.js:4:11) at useAwaitableNavigate (file:///Users/tomb/router/node_modules/.pnpm/@clerk+tanstack-start@0.4.15_@tanstack+react-router@packages+react-router_@tanstack+start@pac_6me5y2wcer565gq3bnt4s2wd4a/node_modules/@clerk/tanstack-start/dist/client/useAwaitableNavigate.js:6:20) at ClerkProvider (file:///Users/tomb/router/node_modules/.pnpm/@clerk+tanstack-start@0.4.15_@tanstack+react-router@packages+react-router_@tanstack+start@pac_6me5y2wcer565gq3bnt4s2wd4a/node_modules/@clerk/tanstack-start/dist/client/ClerkProvider.js:18:29) at renderWithHooks (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5724:16) at renderIndeterminateComponent (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5798:15) at renderElement (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6023:7) at renderNodeDestructiveImpl (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11) at renderNodeDestructive (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14) at renderIndeterminateComponent (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5852:7) at renderElement (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6023:7) at renderNodeDestructiveImpl (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11) at renderNodeDestructive (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14) at renderNode (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6336:12) at renderChildrenArray (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6288:7) at renderNodeDestructiveImpl (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6218:7) at renderNodeDestructive (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14) at renderElement (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6048:9) at renderNodeDestructiveImpl (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11) at renderNodeDestructive (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14) at renderIndeterminateComponent (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5852:7) at renderElement (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6023:7) at renderMemo (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5945:3) at renderElement (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6088:11) at renderNodeDestructiveImpl (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11) at renderNodeDestructive (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14) at finishClassComponent (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5754:3) at renderClassComponent (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5762:3) at renderElement (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6020:7) at renderNodeDestructiveImpl (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11) at renderNodeDestructive (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14) at renderIndeterminateComponent (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5852:7) at renderElement (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6023:7) at renderNodeDestructiveImpl (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11) at renderNodeDestructive (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14) at renderIndeterminateComponent (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5852:7) at renderElement (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6023:7) at renderNodeDestructiveImpl (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11) at renderNodeDestructive (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14) at finishClassComponent (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5754:3) at renderClassComponent (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5762:3) at renderElement (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6020:7) at renderNodeDestructiveImpl (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11) at renderNodeDestructive (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14) at renderIndeterminateComponent (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5852:7) at renderElement (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6023:7) at renderNodeDestructiveImpl (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11) at renderNodeDestructive (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14) at renderElement (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6048:9) at renderNodeDestructiveImpl (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11) at renderNodeDestructive (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14) /Users/tomb/router/packages/start/dist/esm/server/defaultStreamHandler.js:58 throw err; ^ TypeError: Cannot destructure property 'navigate' of 'useRouter(...)' as it is null. at useNavigate (file:///Users/tomb/router/packages/react-router/dist/esm/useNavigate.js:4:11) at useAwaitableNavigate (file:///Users/tomb/router/node_modules/.pnpm/@clerk+tanstack-start@0.4.15_@tanstack+react-router@packages+react-router_@tanstack+start@pac_6me5y2wcer565gq3bnt4s2wd4a/node_modules/@clerk/tanstack-start/dist/client/useAwaitableNavigate.js:6:20) at ClerkProvider (file:///Users/tomb/router/node_modules/.pnpm/@clerk+tanstack-start@0.4.15_@tanstack+react-router@packages+react-router_@tanstack+start@pac_6me5y2wcer565gq3bnt4s2wd4a/node_modules/@clerk/tanstack-start/dist/client/ClerkProvider.js:18:29) at renderWithHooks (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5724:16) at renderIndeterminateComponent (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5798:15) at renderElement (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6023:7) at renderNodeDestructiveImpl (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11) at renderNodeDestructive (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14) at renderIndeterminateComponent (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5852:7) at renderElement (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6023:7) at renderNodeDestructiveImpl (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11) at renderNodeDestructive (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14) at renderNode (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6336:12) at renderChildrenArray (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6288:7) at renderNodeDestructiveImpl (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6218:7) at renderNodeDestructive (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14) at renderElement (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6048:9) at renderNodeDestructiveImpl (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11) at renderNodeDestructive (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14) at renderIndeterminateComponent (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5852:7) at renderElement (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6023:7) at renderMemo (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5945:3) at renderElement (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6088:11) at renderNodeDestructiveImpl (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11) at renderNodeDestructive (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14) at finishClassComponent (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5754:3) at renderClassComponent (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5762:3) at renderElement (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6020:7) at renderNodeDestructiveImpl (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11) at renderNodeDestructive (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14) at renderIndeterminateComponent (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5852:7) at renderElement (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6023:7) at renderNodeDestructiveImpl (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11) at renderNodeDestructive (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14) at renderIndeterminateComponent (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5852:7) at renderElement (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6023:7) at renderNodeDestructiveImpl (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11) at renderNodeDestructive (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14) at finishClassComponent (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5754:3) at renderClassComponent (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5762:3) at renderElement (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6020:7) at renderNodeDestructiveImpl (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11) at renderNodeDestructive (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14) at renderIndeterminateComponent (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5852:7) at renderElement (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6023:7) at renderNodeDestructiveImpl (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11) at renderNodeDestructive (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14) at renderElement (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6048:9) at renderNodeDestructiveImpl (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11) at renderNodeDestructive (/Users/tomb/router/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14) Node.js v18.18.0  ELIFECYCLE  Command failed with exit code 1. tomb@macbookpro start-clerk-basic % ```
SeanCassiere commented 3 weeks ago

@thomasballinger it doesn't look to be related. Will need to investigate this separately.

@logan-anderson @LeulAria I've rested with npm (10.5.0), yarn (1.22.19), and pnpm (9.12.2) using the Getting Started Counter example and both the "dev" and "build" commands work as expected. Am I missing something here?

logan-anderson commented 3 weeks ago

@SeanCassiere the error I saw only happens with pnpm version 7

SeanCassiere commented 3 weeks ago

@SeanCassiere the error I saw only happens with pnpm version 7

As I mentioned earlier in this https://github.com/TanStack/router/issues/2540#issuecomment-2418121312, pnpm 7 is EOL and there's nothing to be done there.

ianmartorell commented 3 weeks ago

I was getting the same error message using Bun, and after pnpm install with pnpm@9 it's not happening anymore, even after installing again with bun install and running with bun run dev. I don't know what to make of it.

austinm911 commented 1 day ago

I was getting the same error message using Bun, and after pnpm install with pnpm@9 it's not happening anymore, even after installing again with bun install and running with bun run dev. I don't know what to make of it.

Also was getting this error using bun in a monorepo but nuked all my node_modules and ran bun install again and seems to have fixed it. I did have another TSR package in /apps and made sure to also update the dependencies of all the react packages in the monorepo as well. So not sure if that was a factor.