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

Lucas Nussbaum lucas at debian.org
Thu May 26 19:52:46 BST 2022


Source: node-get-caller-file
Version: 2.0.5+~cs1.1.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
> Copy /usr/share/nodejs/chai -> ./node_modules/
> Copy /usr/share/nodejs/@types/jest -> ./node_modules/@types
> Copy /usr/share/nodejs/@types/node -> ./node_modules/@types
> Copy /usr/share/nodejs/@types/chai -> ./node_modules/@types
> Copy /usr/share/nodejs/jest-diff -> ./node_modules/
> Copy /usr/share/nodejs/pretty-format -> ./node_modules/
> Link node_modules/ensure-posix-path -> ../ensure-posix-path
>    dh_auto_build --buildsystem=nodejs
> Found debian/nodejs/ensure-posix-path/build
> 	cd ./ensure-posix-path && sh -ex ../debian/nodejs/ensure-posix-path/build
> + tsc -b .
> ../node_modules/pretty-format/build/types.d.ts(7,37): error TS2307: Cannot find module '@jest/schemas' or its corresponding type declarations.
> ../node_modules/pretty-format/build/types.d.ts(38,37): error TS2339: Property 'theme' does not exist on type 'Required<PrettyFormatOptions>'.
> ../node_modules/@types/jest/index.d.ts(503,30): error TS2307: Cannot find module 'jest-matcher-utils' or its corresponding type declarations.
> dh_auto_build: error: cd ./ensure-posix-path && sh -ex ../debian/nodejs/ensure-posix-path/build returned exit code 1
> make: *** [debian/rules:8: binary] Error 25


The full build log is available from:
http://qa-logs.debian.net/2022/05/25/node-get-caller-file_2.0.5+~cs1.1.1-2_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220525;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220525&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the Pkg-javascript-devel mailing list