-
Notifications
You must be signed in to change notification settings - Fork 129
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' #143
Comments
This module works only in Node.js. If we talk about the whole task - browser can not provide access to Smart Cards from JavaScript (React in your situation) directly. Is is possible only if host machine of user of your JavaScript provide some of interface for this. For example this interface is browser extension |
For anyone trying to run this in Electron, the |
Hi,
I add the library in my react project and always get this error. Please advise how to solve it.
ERROR in ./node_modules/bindings/bindings.js and Module not found: Error: Can't resolve 'fs' in node-modules.
Use react script 5.0.1 and webpack 5.
Thanks
Sunny.
The text was updated successfully, but these errors were encountered: