Getting error of "both async and sync fetching of the wasm failed" after upgrading to WebViewer 7.3.3

Product: WebViewer

Product Version: 7.3.3

Please give a brief summary of your issue:
Getting an error of “both async and sync fetching of the wasm failed” after upgrading to WebViewer v7.3.3

Please describe your issue and provide steps to reproduce it:
I am working on a React app that integrates with the WebViewer via npm. We were using v6.3.3 successfully. After upgrading to v7.3.3, I get an error when I try to use PDFTron to process and print documents. I am able to initialize the WebViewer object and get back the webviewer “instance”, but when I call anything on the “instance”, I get the error of:

MemGrow.js:1 Uncaught (in promise) RuntimeError: abort(RuntimeError: abort(both async and sync fetching of the wasm failed). Build with -s ASSERTIONS=1 for more info.). Build with -s ASSERTIONS=1 for more info.
    at abort (file:///C:/xxx/pdftron/core/pdf/simple_wasm/MemGrow.js:1:12233)
    at file:///C:/xxx/pdftron/core/pdf/simple_wasm/MemGrow.js:1:14298

I downgraded back down to 6.3.3, and everything worked fine again.

Do you have any suggestions on what might be wrong, or how to maybe address it?

Unfortunately I’m having trouble reproducing your issue. Here are the steps I took:

  1. Clone the webviewer-react-sample repo GitHub - PDFTron/webviewer-react-sample: Sample to demonstrate integrating WebViewer into React
  2. Run npm install and then npm start
  3. Open localhost:3000 and see the document load in Chrome and confirm from the console it’s WebViewer 7.3.3

Are you able to see any issues when following these steps?

You may want to try clearing your browser cache to make sure that isn’t causing any issues. You may also want to try this approach when updating versions https://www.pdftron.com/documentation/web/faq/load-webviewer-files-no-cache/