Closed nijatmursali closed 2 years ago
@nijatmursali please check https://github.com/TechStark/opencv-js-examples/tree/develop/opencv-js-webpack-example It works for me.
I have tried it, but it gives Module not found: Error: Can't resolve 'pages/notFound'
when I use with webpack. What rule should I add in that case? I cannot add ./pages/notFound.jsx
because I have bunch of these pages.
I don't have your source code. I'm not clear what's the issue, but the above error doesn't seem to be related to opencv.js
any solution for the above one?
Here is a working example https://github.com/TechStark/opencv-js-examples/tree/develop/opencv-js-webpack-example
@ttt43ttt Thanks for taking a look, I have posted my question here, am facing 'fs' issue https://stackoverflow.com/questions/73435275/unable-to-use-opencv-js-in-react-native
I also experienced this fs module not found error. I think this is related to this https://github.com/facebook/create-react-app/issues/11756
The way I solved it is by switching to react-app-rewired
Step by step instruction https://stackoverflow.com/a/73661388/1862452
Hello,
I'm currently working on one project regarding implementing OpenCV, and I saw this library. I have installed it via NPM, but I'm getting the following errors when I import the library:
Could you please let me know how can I solve this issue? I have created webpack.config.js file which looks like this:
But, it does not work. Do I need to have another commands to push the code to run?