opencv-js
opencv-js copied to clipboard
unable to implement in react native 0.67
Facing below error when i tried to implement it, Can anyone help us to sort it out?
error: RangeError: Maximum call stack size exceeded
at RegExp.exec (
I get the same error. I've attempted a few things: none of which have helped.
- switched from trying it in an Expo-based project to a normal ReactNative project.
- Tried only importing the methods I need (starting with
import {imread} from '@techstark/opencv-js';
) and even just including that single function causes the same problem.
For added context, this error occurs after (or perhaps right at the end) of bundling.
react-native start react-native
(or npm start
) works without errors.
Then run-android
(or npm run android
) seems to work fine up until 100% when it launches the app on your phone/emulator. Once that happens, you see the error above in the console and in the error dialog within the app.
I couldn't resolve that, else we can integrate OpenCV 3.4.1 as a native plugin which causes more weightage of the app but no option.
error: RangeError: Maximum call stack size exceeded
I get this error too on react-native 0.71.8 and expo ~48.0.15.
Any solutions?
I have the same issue