You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See discussion in #3015. Certain Node.js flags stop worker threads from working. We should recognize that error (ERR_WORKER_INVALID_EXEC_ARGV) and print a useful error message so users know to disable worker threads in AVA.
The text was updated successfully, but these errors were encountered:
I think the main process has to stop forking worker for the rest of the test files and then print appropriate error message, otherwise we will get aggregated error with same error messages.
But I am afraid, by changing stopOnError to true in
We could also check whether worker threads are enabled (in AVA's config) and then create a worker. If that fails with a recognized error we don't run the tests at all.
The worker can be created with the eval option and an empty script, so that we don't have to actually run anything.
See discussion in #3015. Certain Node.js flags stop worker threads from working. We should recognize that error (
ERR_WORKER_INVALID_EXEC_ARGV
) and print a useful error message so users know to disable worker threads in AVA.The text was updated successfully, but these errors were encountered: