Replies: 1 comment
-
This signals that Webpack failed to read It may be using a newer JS syntax than what webpack supports. There's not enough information here to say with in certainty, but I'd recommend ensuring you're using the latest webpack. Note that those PDF modules might also not be developed to be ran in the browser. I haven't looked at them specifically, but if they rely purely on NodeJS APIs like buffers and streams, you will have a difficult time to get the module working in a browser/cordova environment, if at all. Ideally they should be able to accept a browser's |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I am looking for solution to parse PDF and get text and images (not viewing but using data from PDF).
The project is based on cordova and react (cordova ios and cordova electron) + webpack.
For getting the file I am already using cordova-plugin-file. I tried some of the plugins for parsing PDF data like pdfreader or pdf-parse.
I also tried npm-pdfreader but I am getting following error:
So my question is if someone can help me how to parse PDF together with cordova-plugin-file. Or is there some cordova plugin that I can use?
Thanks a lot for help and guidance.
Beta Was this translation helpful? Give feedback.
All reactions