tomzx / gkm

⚠ Unsupported/Unmaintained ⚠️️ Global Keyboard and Mouse listener for node.js.
MIT License
52 stars 16 forks source link

Gkm with ReactJS not working #17

Open oukunan opened 6 years ago

oukunan commented 6 years ago

I got an error "Module not found: 'child_process'". What should I do? D:

tomzx commented 6 years ago

Can you tell me where you are getting this error? child_process is a module that is part of node and as such should always be available.

oukunan commented 6 years ago

@tomzx Okay child_process is fine now. but got an new error TypeError: EventEmitter2 is not a constructor screen shot 2561-08-11 at 12 34 09

tomzx commented 6 years ago

It seems this might be fixed by a more recent version of eventemitter2, however since I have no test environment to reproduce your issue, I'd need more details. You can also try to install the latest version of eventemitter2 over the one that is downloaded as a dependency for this package and see whether it solves your problem. If so, you can submit a PR with the updated dependency version and I'll merge it.