Good day! I installed tesseract.js to Angular 19 project with SSR enabled, but when i go to component, which uses it like "const worker = await createWorker('eng');", then i get an error in application: Error when evaluating SSR module /main.server.mjs: __dirname is not defined at node_modules/tesseract.js/src/worker/node/defaultOptions.js
Angular 19 + SSR + Tesseract.js - Stack Overflow
评论列表(0)
- 暂无评论