IAMDinosaur
IAMDinosaur copied to clipboard
Node is unable to find 'robot.js' module
I am trying to use robot.js module on node, however it returns an error on line command which says the module cannot be found. I have tried massive troubleshooting steps, including add aditional modules which could be missing, and frameworks on my system. I already have:
Python v. 2.7.12 node v.6.7.0 Windows Software Development Kit v. 8.1 Visual Studio 2015 Community (should works fine)
The error log says:
C...\node index
module.js:457 throw err; ^
Error: Cannot find module 'robotjs'
I instaled the module already. Any help, please?
Try npm install robotjs
@jonatasbvt did running the command @Untitled-Mines mentioned worked for you?
if not then robotjs is probably not installed on your system
you can check with the following command:
npm list robotjs
I was unable to install robotjs. The following package helped me install the missing tools on my computer (looks like you are using windows) which in turn helped with installing robotjs: https://www.npmjs.com/package/windows-build-tools
npm install --global --production windows-build-tools
I am facing the same issue. However when executed npm list robotjs
it displayed installed robot js version. however it still throwing an error
module.js:549 throw err; ^ Error: Cannot find module './build/Release/robotjs.node'
Please help me to resolve this issue
I have the same issues, running this from VSCode i dont understand why he is asking for VSIX extention.