pythonrobotjs

I cannot install the Robotjs library in Node.js


I cannot install Robotjs in Node. When I try to install the command: npm install robot-js, the screen shows this error:

        Error: robot-js binaries failed to install. You will need to install 
        them manually.

When I put the command: npm list robotjs, this message appears:

        ! - UNMET DEPENDENCY robotjs@0.4.5

        npm ERR! missing: robotjs@0.4.5, required by iamdinosaur@1.0.0

I do not know how to install manually and by npm is not installing

I have Python 3, I already unplugged it and left only Python 2.7, but nothing solved.


Solution

  • It has been solved by downgrading the version of node.js 9, to version 6, with the binary module itself for the version, which is version 6.