pdf-text-reader icon indicating copy to clipboard operation
pdf-text-reader copied to clipboard

Warning: TT: undefined function: 3

Open gl-devis opened this issue 1 year ago • 2 comments

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

gl-devis avatar Mar 28 '24 10:03 gl-devis

Facing the same problem

losparviero avatar Apr 23 '24 12:04 losparviero

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 🙃

electrovir avatar May 07 '24 21:05 electrovir