On Tue, 2 Feb 2021 13:11:47 +0100 Xavier <y...@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: vive...@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 vive...@tchncs.de -- Pkg-javascript-devel mailing list Pkg-javascript-devel@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel