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?