[英]I cannot install the Robotjs library in Node.js
I cannot install Robotjs in Node. 我无法在Node中安装Robotjs。 When I try to install the command: npm install robot-js, the screen shows this error:
当我尝试安装命令:npm install robot-js时,屏幕显示此错误:
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: 当我输入命令:npm list robotjs时,出现以下消息:
! - 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 我不知道如何手动安装,而npm未安装
I have Python 3, I already unplugged it and left only Python 2.7, but nothing solved. 我有Python 3,已经拔下电源,只剩下Python 2.7,但没有解决任何问题。
通过将node.js 9的版本降级到版本6以及版本的二进制模块本身(版本6)来解决该问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.