How to investigated > Error: Worker exited unexpectedly #87
Unanswered
JesusTheHun
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Are you mocking any Node's built-in modules like
Isolate the error into a minimal reproduction first. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm using vitest and I'm facing this error a lot,
Error: Worker exited unexpectedly
.I'm doing some pretty heavy dark magic:
vitest -> tinypool -> fork -> async_hook -> mock -> proxy -> native code
.So I would like to make a deep dive to find out what's going on, but the only trace I have is :
Also, while it happens very often (roughly 4/5), it does not happen all the time.
Does one know the best way to get to the bottom of such errors ?
Beta Was this translation helpful? Give feedback.
All reactions