santigimeno / node-pcsclite

Bindings over pcsclite to access Smart Cards
ISC License
171 stars 127 forks source link

Electron fails to start pcsclite #87

Open madsbrydegaard opened 5 years ago

madsbrydegaard commented 5 years ago

Using Electron 4 I cant start the pcsclite lib on Windows 10 It works well when using node in start script...

Part of error log:

10 silly lifecycle electron.card-loader@0.0.1~start: Args: [ '/d /s /c', 'electron .' ] 11 silly lifecycle electron.card-loader@0.0.1~start: Returned: code: 3228369023 signal: null 12 info lifecycle electron.card-loader@0.0.1~start: Failed to exec start script 13 verbose stack Error: electron.card-loader@0.0.1 start: electron . 13 verbose stack Exit status 3228369023 13 verbose stack at EventEmitter. (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:301:16) 13 verbose stack at EventEmitter.emit (events.js:182:13) 13 verbose stack at ChildProcess. (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14) 13 verbose stack at ChildProcess.emit (events.js:182:13) 13 verbose stack at maybeClose (internal/child_process.js:962:16) 13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5) 16 verbose Windows_NT 10.0.17134 17 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "start" 18 verbose node v10.14.2 19 verbose npm v6.4.1 20 error code ELIFECYCLE 21 error errno 3228369023 22 error electron.card-loader@0.0.1 start: electron . 22 error Exit status 3228369023