marcopiraccini / marcopiraccini/electron-usb
electron-usb gives 'Module version mismatch' error with electron Ver 1.1.0
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 37
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
Since upgrading to 'electron-prebuilt@1.1.0' that comes bundled with 'nodeJs@6.1.0' the module require('electron-usb') gives an error on start
Error: Module version mismatch. Expected 48, got 47
Workaround until electron-usb gets updated
removing electron-prebuilt@1.1.0 and installing electron-prebuilt@1.0.2 solves the problem
apparently the version of nodeJs in electron-prebuilt has to match the version in electron-usb
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing require('electron-usb') with electron-prebuilt@1.1.0 and nodeJs@6.1.0, then compare it with the working electron-prebuilt@1.0.2 setup. Trace the native module version reported by Electron and electron-usb; done means the module loads without the “Expected 48, got 47” error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, electron, node.js
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100