[Pkg-javascript-devel] Bug#981630: Bug#981630: jest-diff and pretty-format type definition shows error

Xavier yadd at debian.org
Tue Feb 2 12:11:47 GMT 2021


Control: tags -1 + moreinfo

Le 02/02/2021 à 11:55, Vivek K J a écrit :
> Package: jest
> Version: 26.6.3+repack+~cs64.44.39-3
> Severity: important
> X-Debbugs-Cc: vivekkj at protonmail.com
> 
> Hi there,
> 
> I was trying to pack node-class-transformer.. For that i need
> pretty-format and jest-diff type definitions. But during the build it 
> shows an error like 
> "Cannot find module 'pretty-format' or its corresponding type declarations."
> "Cannot find module 'pretty-format' or its corresponding type declarations."
> The node module that I was trying to pack is avilable at 
> https://salsa.debian.org/vivekkj/node-class-transformer.
> 
> Cheers,
> 
> Vivek K J

Hi,

tsc has a very poor search algorithm, you have to link or copy these
modules in local node_modules/ directory (use debian/nodejs/extlinks or
debian/nodejs/extcopies)



More information about the Pkg-javascript-devel mailing list