I'm trying to use robotjs in a nw.js project. I've run
npm install robotjs
but when I require robotjs in my app (var robotjs = require("robotjs")) I get a DLL initialization error.
node:internal/modules/cjs/loader:1365 Uncaught Error: A dynamic link library (DLL) initialization routine failed.
\\?\C:\mypath\node_modules\robotjs\build\Release\robotjs.node
at Module._extensions..node (node:internal/modules/cjs/loader:1365:18)
at Module.load (node:internal/modules/cjs/loader:1116:32)
at Module._load (node:internal/modules/cjs/loader:963:12)
at Module.require (node:internal/modules/cjs/loader:1140:19)
at require (node:internal/modules/helpers:128:18)
at Object.<anonymous>
I'm trying to use robotjs in a nw.js project. I've run
but when I require robotjs in my app (var robotjs = require("robotjs")) I get a DLL initialization error.