Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have just downloaded the latest version of pdf.js and there is no build/ folder as per your module page screenshot. The module then said it cannot detect what version of pdf.js I have. So I copied the src/ folder to build and then it could detect what version I am running but then when I view a page with the pdf it only shows the pdf viewer window with no pdf inside. When I open my browser console it says it cannot find "libraries/pdf.js/node_modules/requirejs/require.js"
Am I doing something wrong?
Any help will be greatly appreciated thank you.
Comments
Comment #2
devasgharHaving the same issue, any help would be much appriciated v1.0.712 is working, not the latest one
Comment #3
ankur.addweb CreditAttribution: ankur.addweb at AddWeb Solution Pvt. Ltd. commentedI am using 7.x-1.8 with pdf.js version 1.5.188 from here. I get the directory structure as mentioned in module page and module works well. Please provide more details.
Comment #4
devasghar