[Pkg-javascript-devel] Bug#1011828: Bug#1011828: node-domutils: FTBFS: node_modules/@types/jest/index.d.ts(503, 30): error TS2307: Cannot find module 'jest-matcher-utils' or its corresponding type declarations.

Yadd yadd at debian.org
Thu May 26 21:22:40 BST 2022


On 26/05/2022 20:52, Lucas Nussbaum wrote:
> Source: node-domutils
> Version: 3.0.1-2
> Severity: serious
> Justification: FTBFS
> Tags: bookworm sid ftbfs
> User: lucas at debian.org
> Usertags: ftbfs-20220525 ftbfs-bookworm
> 
> Hi,
> 
> During a rebuild of all packages in sid, your package failed to build
> on amd64.
> 
> 
> Relevant part (hopefully):
>>   debian/rules binary
>> dh binary
>>     dh_update_autotools_config
>>     dh_autoreconf
>>     dh_auto_configure --buildsystem=nodejs
>> Link ./node_modules/htmlparser2 -> /usr/share/nodejs/htmlparser2
>> Link ./node_modules/pretty-format -> /usr/share/nodejs/pretty-format
>> Link ./node_modules/ts-jest -> /usr/share/nodejs/ts-jest
>> Copy /usr/share/nodejs/domhandler -> ./node_modules/
>> Copy /usr/share/nodejs/dom-serializer -> ./node_modules/
>> Copy /usr/share/nodejs/domelementtype -> ./node_modules/
>> Copy /usr/share/nodejs/jest-diff -> ./node_modules/
>> Copy /usr/share/nodejs/@types/jest -> ./node_modules/@types
>> Copy /usr/share/nodejs/@types/node -> ./node_modules/@types
>>     debian/rules override_dh_auto_build
>> make[1]: Entering directory '/<<PKGBUILDDIR>>'
>> tsc
>> node_modules/@types/jest/index.d.ts(503,30): error TS2307: Cannot find module 'jest-matcher-utils' or its corresponding type declarations.
>> make[1]: *** [debian/rules:11: override_dh_auto_build] Error 2

For all such bugs, just move @types/jest from debian/nodejs/extcopies 
into debian/nodejs/extlinks: nodejs has now node_modules links



More information about the Pkg-javascript-devel mailing list