Open hyrious opened 2 months ago
Thanks for the report, this has been fixed on the v22.5
in this PR but has not been backported into v20.x
release line, it possibly will be fixed in the next release in v20.x
.
I've added LTS watch labels to the PR for backporting, feel free to undone.
Version
First seen in v20.15; No issue in v20.14
Platform
Subsystem
No response
What steps will reproduce the bug?
Just create a file and run:
How often does it reproduce? Is there a required condition?
It requires Node.js ≥ v20.15. Node.js v20.14 is working fine.
What is the expected behavior? Why is that the expected behavior?
It should not throw.
What do you see instead?
Additional information
The error occurs only when inside the callback of
new Promise()
. I looked at devtools and it says one item inside the stack hasgetFileName()
→null
.