Git Product home page Git Product logo

Comments (7)

adrienjoly avatar adrienjoly commented on August 12, 2024 1

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.

adrienjoly avatar adrienjoly commented on August 12, 2024

Can you share your source code, so we can investigate the issue, please?

from npm-pdfreader.

Developer-Mike avatar Developer-Mike commented on August 12, 2024

Nothing fancy ;D. Just:
const { PdfReader } = require("pdfreader");

And the sample also doesn't work.

from npm-pdfreader.

adrienjoly avatar adrienjoly commented on August 12, 2024

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.

Developer-Mike avatar Developer-Mike commented on August 12, 2024

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.

Developer-Mike avatar Developer-Mike commented on August 12, 2024

Thanks, I'll try it later

from npm-pdfreader.

adrienjoly avatar adrienjoly commented on August 12, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.