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

hmartens@gmail.com created an issue. See original summary.

devasghar’s picture

Having the same issue, any help would be much appriciated v1.0.712 is working, not the latest one

ankur.addweb’s picture

I 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.

devasghar’s picture

Status: Active » Closed (works as designed)