[Pkg-javascript-devel] Bug#1002278: node-ts-jest: FTBFS: Cannot find module 'pretty-format' or its corresponding type declarations.
Lucas Nussbaum
lucas at debian.org
Tue Dec 21 16:48:43 GMT 2021
Source: node-ts-jest
Version: 27.0.7+~cs0.2.6-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20211220 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> mv node_modules/fast-json-stable-stringify node_modules/.fast-json-stable-stringify
> dh_auto_build --buildsystem=nodejs
> Found debian/nodejs/bs-logger/build
> cd ./bs-logger && sh -ex ../debian/nodejs/bs-logger/build
> + tsc -p tsconfig.build.json
> [96m../../../../usr/share/nodejs/jest-diff/build/types.d.ts[0m:[93m7[0m:[93m34[0m - [91merror[0m[90m TS2307: [0mCannot find module 'pretty-format' or its corresponding type declarations.
>
> [7m7[0m import type { CompareKeys } from 'pretty-format';
> [7m [0m [91m ~~~~~~~~~~~~~~~[0m
>
>
> Found 1 error.
>
> dh_auto_build: error: cd ./bs-logger && sh -ex ../debian/nodejs/bs-logger/build returned exit code 2
> make[1]: *** [debian/rules:14: override_dh_auto_build] Error 25
The full build log is available from:
http://qa-logs.debian.net/2021/12/20/node-ts-jest_27.0.7+~cs0.2.6-1_unstable.log
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