Skip to content

Cannot read properties of undefined (reading 'getStreamedValue') #4244

Closed
@enmanuelmag

Description

@enmanuelmag

Describe the bug

If I use useQuery hook always throw an error Cannot read properties of undefined (reading 'getStreamedValue'). Even a dummy hook without external fetch. Mutation works all good.

Your minimal, reproducible example

https://codesandbox.io/p/github/DeltaTypes/vch-kpi-platform/feat/vechiel-template-form-xlsx

Steps to reproduce

  1. Go to app folder
  2. Up docker compose docker-compose up -d
  3. Execute npm run db:migrate-dev
  4. Execute npm run prisma:seed
  5. Login with a Admin user (see Seed folder for admin seed)
  6. Go to Fleet tab on Header
  7. See the error

Expected behavior

Use of useQuery without any error as useMutation works.

How often does this bug happen?

Every time

Screenshots or Videos

Image

Platform

Windows

Browser: Vivaldi and Google Chrome

Tanstack Query adapter

None

TanStack Query version

latest

TypeScript version

^5.7.2

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions