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

npm can't find tesseract-ocr #44343

Closed
HarryDaWin opened this issue Apr 30, 2024 · 3 comments
Closed

npm can't find tesseract-ocr #44343

HarryDaWin opened this issue Apr 30, 2024 · 3 comments
Labels
Needs: Author Feedback Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue. Needs: Version Info Resolution: Answered When the issue is resolved with a simple answer Resolution: Issue in another tool or repo An issue that was opened against React Native but in reality is affecting another tool or library

Comments

@HarryDaWin
Copy link

Description

npx react-native init testing123

npm ERR! code ENOENT
npm ERR! syscall spawn C:\Program Files\Tesseract-OCR;
npm ERR! path C:\Users\harri\match
npm ERR! errno -4058
npm ERR! enoent spawn C:\Program Files\Tesseract-OCR; ENOENT
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

Steps to reproduce

  1. Install Node js
  2. Added to environment variable
  3. Tried running npx react-native init testing123 then error popped up

React Native Version

latest

Affected Platforms

Build - Windows

Output of npx react-native info

npm ERR! code ENOENT
npm ERR! syscall spawn C:\Program Files\Tesseract-OCR;
npm ERR! path C:\Users\harri\match
npm ERR! errno -4058
npm ERR! enoent spawn C:\Program Files\Tesseract-OCR; ENOENT
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

Stacktrace or Logs

npm ERR! code ENOENT
npm ERR! syscall spawn C:\Program Files\Tesseract-OCR;
npm ERR! path C:\Users\harri\match
npm ERR! errno -4058
npm ERR! enoent spawn C:\Program Files\Tesseract-OCR; ENOENT
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

Reproducer

none

Screenshots and Videos

No response

Copy link

⚠️ Add or Reformat Version Info
ℹ️ We could not find or parse the version number of React Native in your issue report. Please use the template, and report your version including major, minor, and patch numbers - e.g. 0.70.2

@github-actions github-actions bot added Needs: Author Feedback Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue. and removed Needs: Triage 🔍 labels Apr 30, 2024
Copy link

⚠️ Missing Reproducible Example
ℹ️ We could not detect a reproducible example in your issue report. Please provide either:
  • If your bug is UI related: a Snack
  • If your bug is build/update related: use our Reproducer Template. A reproducer needs to be in a GitHub repository under your username.

@NickGerleman
Copy link
Contributor

This error is unrelated to React Native unfortunately

@NickGerleman NickGerleman added Resolution: Issue in another tool or repo An issue that was opened against React Native but in reality is affecting another tool or library Resolution: Answered When the issue is resolved with a simple answer labels Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs: Author Feedback Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue. Needs: Version Info Resolution: Answered When the issue is resolved with a simple answer Resolution: Issue in another tool or repo An issue that was opened against React Native but in reality is affecting another tool or library
Projects
None yet
Development

No branches or pull requests

2 participants