pdfium-wasm
pdfium-wasm copied to clipboard
FPDF_LoadPage does not work
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! [email protected] start: `node src/main.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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
Hi,
It is working on my project here: https://github.com/paulo-coutinho/pdfium-lib
And you can test on web here: https://paulo-coutinho.github.io/pdfium-lib/
Consider donation on Sponsor button.
Thanks.