Closed shinomikko8888 closed 11 months ago
Based on the error messages (missing crypto
, Webpack polyfills for node.js etc), you attempt to use the library in Node.js code. The library is for browsers only.
The library is for browsers only.
Sorry, but I'm still confused about this part. Do I have to call the <script>
that calls the WebSdk and the @digitalpersona/devices script in the index.html
file that is located inside the public folder and program there using JavaScript instead of programming inside of the component? Or do I have to call the <script>
tag inside the return statement in the component since inside of the return statement you can also call the <script>
tag, and continue as normal?
My scenario is the user entering an entry that contains data from a person which includes their fingerprint data.
What I want is to get the fingerprint raw file (or anything that could get a unique ID) and compile the data with the other data that has been inputted such as the name, age, etc. When the user clicks on this button:
This would pop-up:
So, in this scenario, where should I call the <script>
tag that calls the WebSdk?
Or do I have to call the Githubissues.
Githubissues is a development platform for aggregating issues.
Hello! This is my first time using the dependency (and asking for help, in general) and I stumbled into some issues that I cannot resolve that well even when looking at the other issues from #4, #13, #27, and #33. I'm using React.js and most of the examples that were given used Angular, which for me a not-so-experienced dev, cannot find a way to fix the issues that pop-up.
My biometric device is a DigitalPersona U.are.U 4500 Fingerprint Reader and I downloaded the SDK along with the Local Agent from the tutorial page in the documentation. I followed the documentation yet I came up with these errors. The things that popped up an error were:
WebSdk is not defined
Can't resolve WebSdk
Various variable errors
Crypto and Vertx (though this one doesn't make an error message pop-up in the environment)
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.
If you want to include a polyfill, you need to:
WARNING in ./src/modules/WebSdk/index.js 4602:18-28 Module not found: Error: Can't resolve 'vertx' in 'E:\xampp\htdocs\bjmp\frontend\src\modules\WebSdk'