on nodejs version over 10.x, install robotjs using npm
while compiling robotjs on machine, compile error will be caused because of NODE_MODULE_VERSION
Context
I found out N-API provides better stability guarantee than NAN while waiting for robotjs 0.6.0. My development envrionment is on node 10.16.1, robotjs caused compile errors or NODE_MODULE_VERSION errors so that I failed to install it. And I realized that many user was struggling for installing robotjs on over node 10.x environment like me.
N-API would be a choice to resolve nodejs version dependency and installation failure.
Expected Behavior
Current Behavior
Possible Solution
Steps to Reproduce (for bugs)
Context
I found out N-API provides better stability guarantee than NAN while waiting for robotjs 0.6.0. My development envrionment is on node 10.16.1, robotjs caused compile errors or
NODE_MODULE_VERSION
errors so that I failed to install it. And I realized that many user was struggling for installing robotjs on over node 10.x environment like me.N-API would be a choice to resolve nodejs version dependency and installation failure.
https://medium.com/the-node-js-collection/n-api-next-generation-node-js-apis-for-native-modules-169af5235b06
Your Environment