Skip to content

TypeError: Cannot read properties of undefined (reading 'graph') when trying to run start-basic-auth sample in WSL 2 Ubuntu #6872

@davewthompson

Description

@davewthompson

Which project does this relate to?

Router

Describe the bug

When trying to run the "start-basic-auth" sample in an Ubuntu instance on WSL 2 on an ARM machine, the following error is logged to the console:

TypeError: Cannot read properties of undefined (reading 'graph')
    at new ii (/home/(user)/projects/sandpit/tanstack-examples/start-basic-auth/node_modules/.pnpm/@prisma+client@7.4.2_prisma@7.4.2_@types+react@19.2.14_react-dom@19.2.4_react@19.2.4__r_49b4b128965f74ea9bbd7586bc0c7d7a/node_modules/@prisma/param-graph/src/serialization.ts:305:46)
    ... 18 lines matching cause stack trace ...
    at async file:///home/(user)/projects/sandpit/tanstack-examples/start-basic-auth/node_modules/.pnpm/@tanstack+start-plugin-core@1.166.3_@tanstack+react-router@1.166.3_react-dom@19.2.4_rea_a7f1db737eddf2e106030b1d3fd0b9ae/node_modules/@tanstack/start-plugin-core/dist/esm/dev-server-plugin/plugin.js:115:30

This is after running:

  • npx gitpick TanStack/router/tree/main/examples/react/start-basic-auth start-basic-auth
  • pnpm install
  • pnpm dev

Your Example Website or App

https://github.com/TanStack/router/tree/main/examples/react/start-basic-auth

Steps to Reproduce the Bug or Issue

  1. Install node via nvm then pnpm via npm install -g pnpm
  2. Clone on a WSL 2 ARM Ubuntu instance
  3. cd to above cloned folder
  4. pnpm install
  5. pnpm dev

Expected behavior

I'd expect the UI to start without errors.

Screenshots or Videos

No response

Platform

  • whatever dependencies are provided in the sample's package.json
  • ARM Surface Laptop 7
  • WSL 2
  • Ubuntu

Additional context

No response

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