Comments (7)
Ok!
As stated in the release note of pdfreader 2.0, Node.js 12 is not supported anymore.
Can you try upgrading to Node.js 14, and tell me if it works as expected?
from npm-pdfreader.
Can you share your source code, so we can investigate the issue, please?
from npm-pdfreader.
Nothing fancy ;D. Just:
const { PdfReader } = require("pdfreader");
And the sample also doesn't work.
from npm-pdfreader.
I'm not able to reproduce your problem, at this time.
What version of Node.js are you using? Can you share your package.json
files so we can check for conflicts?
Also, can you checkout that other repo and try to run the example as explained there: https://github.com/adrienjoly/npm-pdfreader-example#how-to-install-and-run ?
from npm-pdfreader.
Node version: v12.16.3
Dependencies: "dependencies": {
"express": "^4.18.1",
"node-cron": "^3.0.0",
"nodemon": "^2.0.16",
"pdfreader": "^2.0.0"
}
from npm-pdfreader.
Thanks, I'll try it later
from npm-pdfreader.
Ok. I'm closing this issue because Node's version mismatch is probably the reason why it does not work.
If you really need to use Node.js, feel free to use version 1 of pdfreader.
If you're still not able to make it work despite these solutions, feel free to re-open this issue.
from npm-pdfreader.
Related Issues (20)
- ReferenceError: MozBlobBuilder is not defined HOT 1
- example not working as shown in the document HOT 4
- PDF parse failed HOT 11
- Question: Missing spaces in text output HOT 1
- 'ava' is not recognized as an internal or external command - When testing compatibility HOT 5
- Clarification on latest release of pdfreader HOT 2
- Gettin items as promise HOT 1
- Make it async // return item as promise HOT 3
- Importing module failed HOT 4
- [ERR_REQUIRE_ESM] require() of ES Module is not supported HOT 13
- It is not supporting the TS type declaration. HOT 25
- aws lambda, sst. Error: Identifier '__dirname' has already been declared HOT 2
- Rules not working HOT 1
- Import when using the library in Cypress HOT 1
- Can I get the coordinates of the given text from all pages of the PDF? HOT 1
- Setting up fake worker. HOT 3
- Cannot read text based PDF file content HOT 4
- Where is `displayValue` declared? HOT 1
- isDebugMode - No such file or directory "test\data\05-versions-space.pdf" HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from npm-pdfreader.