Always encounter "Segmentation Fault" when running on Docker node >= 18 and ava >=4 #3239
-
Please provide details about:
I am just trying to run a ultra basic test on docker with ava. I am using a mac with an Intel chip. const test = require('ava');
test('foo', t => {
t.pass()
}) My docker file
And my package.json
Every time I run I know this usually more of a node issue but I only have this issue with the ava command. I see that starting with the v4 the package introduces "Worker threads" so it might be link with my issue but even with Does someone have any tips on what to do ?
A test running without a "Segmentation fault" |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
There's not really anything we can do here. It's Node.js that is crashing, we're just using the APIs they provide. |
Beta Was this translation helpful? Give feedback.
Finally found the solution, it comes from docker desktop for mac and the virtualization framework (docker/for-mac#6824 (comment)).