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

Pirate Praveen praveen at onenetbeyond.org
Tue May 24 21:08:45 BST 2022


Control: tags -1 help

On Mon, 13 Dec 2021 14:20:37 +0100 Ayoyimika Ajibade 
<ayoyimikaajibade at gmail.com> wrote:
 > Relevant part (hopefully):
 >
 > webpack 5.65.0 compiled successfully
 > [12:40:32] Finished '<anonymous>' after 1.32 min
 > [12:40:32] Finished 'minified-pre' after 1.32 min
 > [12:40:32] Starting '<anonymous>'...
 > [12:40:32] '<anonymous>' errored after 6.04 ms
 > [12:40:32] Error: ENOENT: no such file or directory, open
 > 'build/minified//build/pdf.js'

This happens becuase the default output directory is dist/ and not ./

So on the command line we have to pass --output-path 
build/minified/build --output-filename pdf.js, we have to find the 
equivalent in gulpfile.js



More information about the Pkg-javascript-devel mailing list