TypeError: Cannot read properties of undefined (reading 'timeoutType') #2035
Unanswered
magnusrodseth
asked this question in
Q&A
Replies: 1 comment 2 replies
-
As far as I know it happens on older versions of undici when it is unable to load the wasm binaries,e.g. when there isn't sufficient memory. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
To set the stage, I am using a Turborepo with Next.js, tRPC and Clerk for authentication and user management.
As a preface: I started by asking in the Discussion in the tRPC repository, and the answer I got there was the following:
Hence, I'm asking here, so here goes.
Ever since the start of my project, I sometimes get this error message:
The error happens sporadically, and I have not been able to pinpoint any pattern of it occurring. The thing that baffles me is that when I Google this error, no other discussions around it exist.
It may happen when fetching data asynchronously between the tRPC client and server.
The stack trace is also very challenging to navigate, and does not offer much help. I have now concluded that
timeoutType
is something related toundici
.Do you have any general recommendations on how to debug and fix this issue? Do you have an idea under what circumstances this can be triggered?
Beta Was this translation helpful? Give feedback.
All reactions