Skip to main content
Known Participant
April 26, 2021
Question

Nodejs Script to Mac OS Executable Application

  • April 26, 2021
  • 1 reply
  • 418 views

Hi all,

 

I was trying to run the OCR using node js PDF tool API. I have successfully run the OCR using node js withPDF tool API. But I was trying convert the code to executable app using electron & packager library from node js I got belo error.

 

 

 

 I have created the credential and replace in the path, but got the same above error. Please share your thoughts.....

This topic has been closed for replies.

1 reply

Joel Geraci
Community Expert
Community Expert
April 26, 2021

I don't have any experience with electron & packager library but it sounds like you are trying to convert your serve app into an app that runs locally like a regular macOS application. Is that correct? If so, PDF Tools API was not engineered for that use case.

Rocky@Author
Known Participant
April 26, 2021

Thanks for your comment Joel,

 

Now I understood. Is there any options to convert those PDF tools API script into macos application?

 

I have used the PDF tool API OCR Script method call with nodejs. Its working fine with CLI, but I want to be the script need to packaged as a script which is used with multiple Mac OS sytem without nodejs and CLI commands