Closed poorpaper closed 2 years ago
Hi @poorpaper
node
are you using ?-g
) ? Let me know
Hello, @bsorrentino .Thanks for the reply,
npm install ./pdf-tools -g
npm remove ./pdf-tools -g
and reinstalled with npm install ./pdf-tools -g
, after I run pdftools pdf2md
it shows the same error.
I'm sorry that I'm not familiar with node.js. Hi @poorpaper no problem
remove all and try
npm install @bsorrentino/pdf-tools -g
and let me know
Thank you @bsorrentino , I have tried that command and it works!
But it shows the information below after I run the command pdftools pdf2md E:\test\Docker.pdf -o E:\test\output
:
monospace or code font doesn't exists!
monospace or code font doesn't exists!
monospace or code font doesn't exists!
monospace or code font doesn't exists!
monospace or code font doesn't exists!
monospace or code font doesn't exists!
WARN: file Docker\Docker.fonts.json already exists!
The document contains Chinese, is this the cause of the error?
Hi @poorpaper that's normal
the font mapping is your responsibility for this reason the tool generates the Docker.fonts.json
file
message monospace or code font doesn't exists!
means that tool has detected code block but doesn't find the font mapping.
However now it works! 👍🏻
I really appreciate this project, but when I finish the installation, using the
pdftools pdf2md
command shows the errorError: Cannot find module '. /bin/index'
in detail:How can I solve it? Did I make a mistake in any step? Thanks in advance.