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

Problem with start tesseract on electron-vue app #497

Closed
LoginovIlya opened this issue Nov 27, 2020 · 0 comments
Closed

Problem with start tesseract on electron-vue app #497

LoginovIlya opened this issue Nov 27, 2020 · 0 comments

Comments

@LoginovIlya
Copy link
Contributor

LoginovIlya commented Nov 27, 2020

Describe the bug
When i trying to install tesseract in 'electron-vue' app i get a problem with path:
Error: Cannot find module '/Users/MyUser/Desktop/Projects/TestApp/http:/localhost:9080/Users/MyUser/Desktop/Projects/TestApp/node_modules/tesseract.js/src/worker-script/node/index.js'
I try set 'workerPath' in 'recognize', but i get broken path
/Users/MyUser/Desktop/Projects/TestApp/http:/localhost:9080/node_modules/tesseract.js/src/worker-script/node/index.js

To Reproduce
Steps to reproduce the behavior:

  1. Install 'electron-vue'
  2. Install 'tesseract.js'
  3. Try to run example

Desktop (please complete the following information):

  • OS: MacOs
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

1 participant