New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Module not found: Error: Can't resolve 'fs' error in React Application #15
Comments
|
@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 |
|
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 |
|
I also experienced this fs module not found error. I think this is related to this facebook/create-react-app#11756 The way I solved it is by switching to 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?
The text was updated successfully, but these errors were encountered: