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

VIVEK K J vivekkj at tchncs.de
Wed Feb 3 12:09:06 GMT 2021


On Tue, 2 Feb 2021 13:11:47 +0100 Xavier <yadd at debian.org> wrote:
> 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)
> 
> 

I was already added the module names i.e. jest-diff and pretty-format
to debian/nodejs/extlinks.. During build time it also copies these
modules to node_modules folder. But the build is failing by showing the
above mentioned error..




-- 
 Cheers,
 Vivek K J
 www.vivekkj.me
 vivekkj at tchncs.de



More information about the Pkg-javascript-devel mailing list