Build stuck at 99% after opencv.js import

Hello,

I need to import opencv.js into my expo Native react project for some image processing tasks.
After npm install and import it in to component no errors. But when it’s build, stucked it at 99%, no progress, After some time mobile popup connection error exception. Opencv.js file is >7MB, Can that be an issue.

Thank you.

Hi @palinda. Do you have this code on github somewhere so we can test it out?

Hi Jesse,

Thanks for the quick response.
Please find my repo at https://github.com/palinda/id_scanner.git
opencv.js imported in https://github.com/palinda/id_scanner/blob/master/SimpleCamera.js line no 5.

Console stuck in here.

Mobile output, Before this error it’s building up to 99.64%. Then popup this error.

Thanks

Any update on this.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.