How to use Tesseract.js in a React app
I had the same issue, and then I had to dig a bit to have it working using the CDN.
Here is what I did, I hope this can help a bit as a workaround:
<script src='https://cdn.rawgit.com/naptha/tesseract.js/1.0.10/dist/tesseract.js'></script>in index.html inside
var Tesseract = window.Tesseract;in App.js
Reference : https://github.com/naptha/tesseract.js/issues/134