Mozilla pdf.js library

Hello,

I am trying to install the PDFviewer module but I get this message:

“The library “Mozilla pdf.js” should be installed. See module’s installation documentation”

Do we have to install a library as well?

Thank you

I solved changing line 53 in Module.php in the module folder from:
$js = DIR . ‘/asset/vendor/pdf.js/build/pdf.js’;
to:
$js = DIR . ‘/asset/vendor/pdf.js/build/pdf.min.js’;

Thank you for the info!

1 Like

This topic was automatically closed 250 days after the last reply. New replies are no longer allowed.