PDF.js Express Version
webviewer-ui.min.js:221
- Build: “My8yMi8yMDIxfDQwM2IyMDFjNg==”
- Core version: “7.3.2”
- Full API: false
- UI version: “7.3.0”
- WebViewer Server: false
Detailed description of issue
Hi guys, I have been evaluationg PDFTron Webviewer, and your licensing colleagues suggested I use PDF.js Express. I have replaced by /webviewer/lib/ folders, and it works well in DEV. But when I push it to PROD it does not work… It used to work when using PDFTron (60Mb folders), but now that I use PDF.js, I get this in PROD (it works in DEV)…
Uncaught (in promise) TypeError: Cannot read property ‘name’ of undefined
at x (CoreControls.js:697)
at pa (CoreControls.js:701)
at h. (CoreControls.js:262)
at r (CoreControls.js:194)
at Object.next (CoreControls.js:192)
at y (CoreControls.js:192)
Happy to hop on a screen-sharing session if you can do that.
Expected behaviour
I just expected my PDF file to load. It doesn’t.
It used to work with PDFTron both in DEV and in PROD.
Right now it works with PDF.js Express, but only in DEV, not in PROD.
Does your issue happen with every document, or just one?
Any document.
Link to document
{Provide a link to the document in question if possible}
Code snippet
The code works well in DEV, and it is pretty basic.
Uncaught (in promise) TypeError: Cannot read property ‘name’ of undefined
at x (CoreControls.js:697)
at pa (CoreControls.js:701)
at h. (CoreControls.js:262)
at r (CoreControls.js:194)
at Object.next (CoreControls.js:192)
at y (CoreControls.js:192)