Got a strange one here. When trying to load in any document, I am getting the below exception in the console. The viewer itself loads fine, but the document load fails. This only seems to happen in Google Chrome.
The strangest thing is that it happened on my PC last week, and I tried everything I could think of to fix it, as I thought it was something on my end since the issue wasn’t happening on my colleagues PCs - re-install viewer, chrome update, windows update, update node, wipe and re-pull repo etc.
Anyway, the exception has miraculously disappeared from my computer today. However, now its happening to one of my colleagues.
(index) Value UI version "7.2.0" Core version "7.2.2" Build "MS8xMi8yMDIxfDcxODAxYzM3NA==" WebViewer Server false Full API false Object ExternalPdfPartRetriever.chunk.js:6 Uncaught (in promise) TypeError: Object(...) is not a function at ExternalPdfPartRetriever.chunk.js:6 at new Promise (<anonymous>) at h.getFile (ExternalPdfPartRetriever.chunk.js:6) at __webpack_exports__.loadAsync (PDFJSDocumentType.js:2271) at CoreControls.js:211 at new Promise (<anonymous>) at ca.Ep (CoreControls.js:211) at CoreControls.js:747 at n (CoreControls.js:198) at Object.next (CoreControls.js:196) ExternalPdfPartRetriever.chunk.js:3 Uncaught TypeError: Object(...) is not a function at XMLHttpRequest.<anonymous> (ExternalPdfPartRetriever.chunk.js:3)