marcopiraccini / electron-usb

node-usb fork to be used with electron. It's a fork from node-usb
MIT License
36 stars 10 forks source link

electron-usb gives 'Module version mismatch' error with electron Ver 1.1.0 #3

Open pickledham opened 8 years ago

pickledham commented 8 years ago

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

karelbilek commented 8 years ago

+1