electron issues
See original GitHub issueHey there, I’m just trying to verify a library I write ( https://www.npmjs.com/package/barcode-scanner ) will work in electron, but deps are proving to be an issue.
Electron + HID installation attempts have been frustrating, I first tried all kinds of voodoo in my own project, but lost faith that it really had anything to do with that project (at very least I want to confirm node-hid would install in a vanilla project).
I then tried the node-hid-toy
repo, which will not compile for me. Out of the box it complains rimraf is missing and then when I manually add that I wind up fatal on compile. I’ve tried using the install hook, and manually triggering
Is there something I’m missing?
https://gist.github.com/khrome/eb9721e6ffeb740e371db8822c252d1d
Issue Analytics
- State:
- Created 7 years ago
- Comments:15 (5 by maintainers)
Hi @danielmcq & @khrome, Thanks for your looking into this. I’ve spent the last few days looking into this again and re-examining how I thought node-gyp and node-pre-gyp behave. I think I discovered a fix to the configuration that addresses the issues you’re seeing. I’m still testing the different platforms and environments but I’m hopeful. If you’ve been working from a checkout of node-hid and want to try it out, try pulling down the changes and see if they work for you.
Thanks! @todbot, @danielmcq