pokusew / node-pcsclite

Bindings over pcsclite to access Smart Cards
ISC License
59 stars 55 forks source link

TypeError: exists is not a function #36

Open vamsideepak opened 4 years ago

vamsideepak commented 4 years ago

Hi Everyone , i am trying to use pcsclite node module in my react(react-electron app) component but it's getting error as below


    at Function.getRoot (bindings.js:202)
    at bindings (bindings.js:82)
    at Object.<anonymous> (pcsclite.js:4)
    at Object../node_modules/pcsclite/lib/pcsclite.js (pcsclite.js:160)
    at __webpack_require__ (bootstrap:784)
    at fn (bootstrap:150)
    at Object../node_modules/pcsclite/index.js (index.js:1)
    at __webpack_require__ (bootstrap:784)
    at fn (bootstrap:150)
    at Module.<anonymous> (App.css?4433:45)
    at Module../src/App.js (App.js:85)
    at __webpack_require__ (bootstrap:784)
    at fn (bootstrap:150)
    at Module../src/index.js (index.css?f3f6:45)
    at __webpack_require__ (bootstrap:784)
    at fn (bootstrap:150)
    at Object.1 (serviceWorker.js:141)
    at __webpack_require__ (bootstrap:784)
    at checkDeferredModules (bootstrap:45)
    at Array.webpackJsonpCallback [as push] (bootstrap:32)
    at main.chunk.js:1```