We modified the sample to call FPDF_LoadPage after FPDFAvail_GetDocument(pdfAvail, null);
Unfortunately, we hit the following error:
6
6
failed to asynchronously prepare wasm: abort(6). Build with -s ASSERTIONS=1 for more info.
abort(6). Build with -s ASSERTIONS=1 for more info.
abort(6). Build with -s ASSERTIONS=1 for more info.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! pdfium-wasm-example@1.0.0 start: `node src/main.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the pdfium-wasm-example@1.0.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/maxferguson/.npm/_logs/2018-08-17T01_31_44_376Z-debug.log
We modified the sample to call FPDF_LoadPage after FPDFAvail_GetDocument(pdfAvail, null);
Unfortunately, we hit the following error: