Hi, I'm trying to import scribe using react but to no avail.
Tried doing it with a clean install, from scratch:
npx create-react-app my-app
then in my-app folder:
npm i scribe.js-ocr
which installs the module but when I try to import scribe, VS Code shows me the following text on hover:
"Could not find a declaration file for module 'scribe.js-ocr'. 'c:/projects/pdfreader/aws/bakvinnsla-pdfreader/frontend/node_modules/scribe.js-ocr/scribe.js' implicitly has an 'any' type.
If the 'scribe.js-ocr' package actually exposes this module, try adding a new declaration (.d.ts) file containing declare module 'scribe.js-ocr';ts(7016)"
Then when I try npm start I get a bunch of module not found errors.
Tried to do it clean since I got the same error on an already developing project that uses native react.
Anyways, props to you, have been comparing your project to tesseract and you give significantly better results.
All the best,
Hi, I'm trying to import scribe using react but to no avail.
Tried doing it with a clean install, from scratch:
npx create-react-app my-app
then in my-app folder:
npm i scribe.js-ocr
which installs the module but when I try to import scribe, VS Code shows me the following text on hover:
"Could not find a declaration file for module 'scribe.js-ocr'. 'c:/projects/pdfreader/aws/bakvinnsla-pdfreader/frontend/node_modules/scribe.js-ocr/scribe.js' implicitly has an 'any' type.
If the 'scribe.js-ocr' package actually exposes this module, try adding a new declaration (.d.ts) file containing
declare module 'scribe.js-ocr';ts(7016)"Then when I try npm start I get a bunch of module not found errors.
Tried to do it clean since I got the same error on an already developing project that uses native react.
Anyways, props to you, have been comparing your project to tesseract and you give significantly better results.
All the best,