[Pkg-javascript-devel] Bug#1001631: Bug#1001631: pdf.js: FTBFS with webpack5: Error: Missing file or directory

Pirate Praveen praveen at onenetbeyond.org
Sat May 28 19:49:11 BST 2022


On Sat, 28 May 2022 22:52:25 +0530 Pirate Praveen 
<praveen at onenetbeyond.org> wrote:
 > [17:18:19] 'compressMinified' errored after 156 ms
 > [17:18:19] TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must
 > be of type string or an instance of Buffer, TypedArray, or DataView.
 > Received undefined

This requires terser 5. So I have disabled minification in gulpfile via 
a patch. If we need to generate the minified files, we can use terser 
command line.

Once node-dommatrix clears NEW, we can upload these changes.



More information about the Pkg-javascript-devel mailing list