Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning: TT: undefined function: 3 #9

Open
gl-devis opened this issue Mar 28, 2024 · 2 comments
Open

Warning: TT: undefined function: 3 #9

gl-devis opened this issue Mar 28, 2024 · 2 comments

Comments

@gl-devis
Copy link

node version: v20.11.0
pdf-text-reader version: 4.0.1
os version: Ubuntu 22.04.3 LTS

my code in index.js :

const { readPdfText } = require('pdf-text-reader')
const filePath = './files/file.pdf';

(async () => {

const pdfText = await readPdfText({url: filePath});
console.info(pdfText);

})();

print Warning: TT: undefined function: 3 on the console when run node index.js

@losparviero
Copy link

Facing the same problem

@electrovir
Copy link
Owner

electrovir commented May 7, 2024

Can you please try again using the latest version? (5.0.1). It includes an updated pdfjs-dist dependency which might help.

Other than that, I haven't been able to repro this yet so I don't know what else to do 🙃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants