question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hey 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:closed
  • Created 7 years ago
  • Comments:15 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
todbotcommented, Jan 16, 2017

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.

0reactions
khromecommented, Jan 16, 2017
Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues · electron/electron - GitHub
Issues list. [Bug]: Choppy microphone audio on electron apps with chromium and different bluetooth device involved. bug.
Read more >
Issues In Electron
The Electron website has a list of resources for getting programming help, reporting security issues, contributing, and more. Please use the issue tracker...
Read more >
Simons Collaboration on the Many Electron Problem
The Simons Collaboration on the Many Electron Problem develops new ways to solve the quantum mechanical behavior of systems comprised of many interacting ......
Read more >
Weather and range issues delay first Electron launch from ...
Rocket Lab was prepared to launch Electron Dec. 16, but the night before announced that the launch was postponed two days to allow...
Read more >
Why not to build an electron app - Medium
You absolutely don't have resources or time to solve challenges which are not the core of your business. Simply put if you have...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found