marcopiraccini / electron-printer

node-printer fork to be used with electron
51 stars 28 forks source link

Compatibility with electron-prebuild 1.2.x #4

Open eXaminator opened 8 years ago

eXaminator commented 8 years ago

Hi,

we want to use this library but have to resort to an older electron-prebuild version because this module does not work with newer electron (and thus node 6) versions.

With newer versions we get an error like Uncaught Error: Module version mismatch. Expected 48, got 47. Everything works fine with electron-prebuild 1.0.2 (which uses node 5.10).

Sadly some other modules are not compatible with that electron-prebuild version and using an older node version isn't preferable either.

Would it be possible to make this module compatible with newer node / electron versions?

Thanks!

ariel-dev commented 5 years ago

Just FYI for anyone checkout out this repo in 2019. From my testing, this package only works with Node 5 (Node Module Version 47). The doc says "It's a temporary solution". Using "printer" should work better than this package.

node-thermal-printer by Klemen1337 references this package in their doc but it is also not compatible with the newer electron versions.