-
Notifications
You must be signed in to change notification settings - Fork 30.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error [ERR_INTERNAL_ASSERTION]: TypeError [ERR_INVALID_THIS]: Value of "this" must be of type EventTarget #46323
Comments
I suspect that this is a problem with how nodejs-storage or another dependency is working. To help verify that, however, please expand the length of the stack trace using |
That helped add a lot of clarity to this, thanks @jasnell! After making that change:
The indicated line 477 from my code is
So the error itself may be a bug in either Node or |
See #46221 for the |
I got this error when I was calling Calling So changed from console.log('@@@@@', request) to console.log('@@@@@', JSON.stringify(request)) |
Version
v18.13.0
Platform
Linux ce9205dbff40 5.10.76-linuxkit #1 SMP PREEMPT Mon Nov 8 11:22:26 UTC 2021 aarch64 GNU/Linux
Subsystem
No response
What steps will reproduce the bug?
How often does it reproduce? Is there a required condition?
Consistently.
Edit: I also confirmed that downgrading to Node 18.12.1 resolves the issue.
What is the expected behavior?
Function should succeed with no errors.
What do you see instead?
Additional information
Related issue: googleapis/nodejs-storage#2133
The text was updated successfully, but these errors were encountered: