Error: Cannot find module 'robotjs'
Lesquishy opened this issue · comments
Lesquishy commented
Here is the Full Error
Error: Cannot find module 'robotjs'
at Function.Module._resolveFilename (module.js:455:15)
at Function.Module._load (module.js:403:25)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (C:\Users\Rugby\Desktop\NEAT\IAMDinosaur-master\index.js:1:75)
at Module._compile (module.js:556:32)
at Object.Module._extensions..js (module.js:565:10)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
I'm running on windows 10 and I've run out of ideas on what to do to fix it. Please help.
Ivan Seidel commented
Hi @Lesquishy,
Did you try to run npm install
inside the project's folder?
Lesquishy commented
I did. I then tried running it globally, neither worked.
Lesquishy commented
After extensive work i have got it to launch once. ive run out of time to re test right now but
For other people who may encounter the same problem. I just installed Virtual Studio 2015. a custom install, While installing go :
- Common Tools > Visual Studio Dependability Tools Update [Number]
- Programming Languages > Visual C++. Select all of them (bar windows XP)