[Pkg-javascript-devel] Bug#1010413: Bug#1010413: mocha: ftbfs with nodejs 16: workerpool needs to be updated

Yadd yadd at debian.org
Sun May 1 07:15:36 BST 2022


On 01/05/2022 01:06, Jérémy Lal wrote:
> Package: mocha
> Version: 9.2.2+ds1+~cs28.3.8-1
> Severity: important
> 
> Hi,
> node-crc ftbfs with nodejs 16 because mocha's parallel mode does:
> workerpool fails with:
> 
> TypeError: The "options" argument must be of type object. Received an instance of Array
>      at ChildProcess.target.send (node:internal/child_process:733:7)
>      at Array.forEach (<anonymous>)
>      at dispatchQueuedRequests (/usr/share/nodejs/workerpool/src/WorkerHandler.js:262:21)
>      at ChildProcess.<anonymous> (/usr/share/nodejs/workerpool/src/WorkerHandler.js:221:7)
> 
> After standard uscan update (that I pushed on salsa, please tell me if I can upload it),
> and a patch to work around webpack < 5, node-crc builds fine with both nodejs 14 and 16.
> 
> Jérémy

Hi Jérémy,

sure you can, thanks!



More information about the Pkg-javascript-devel mailing list