Skip to content

Win2012-R2: Error: The specified procedure could not be found. #434

Description

@0sander

Version
nut.js: 2.3.0
node.js: 18.9.1
OS: Windows-Server-2012-r2
MS Visual C++ Redistributable 14.32.31332

Short overview

Error: The specified procedure could not be found.

Issue occurs on

  • Virtual machine

Detailed error description

When running the example code below in Windows Server 2012 R2 I run into the following error:

C:\Users\Administrator\Code\fms-e2e-chrome>node test.js
C:\Users\Administrator\Code\fms-e2e-chrome\node_modules\bindings\bindings.js:121

        throw e;
        ^

Error: The specified procedure could not be found.
\\?\C:\Users\Administrator\Code\fms-e2e-chrome\node_modules\@nut-tree\libnut-win
32\build\Release\libnut.node
    at Module._extensions..node (node:internal/modules/cjs/loader:1203:18)
    at Module.load (node:internal/modules/cjs/loader:997:32)
    at Module._load (node:internal/modules/cjs/loader:838:12)
    at Module.require (node:internal/modules/cjs/loader:1021:19)
    at require (node:internal/modules/cjs/helpers:103:18)
    at bindings (C:\Users\Administrator\Code\fms-e2e-chrome\node_modules\binding
s\bindings.js:112:48)
    at Object.<anonymous> (C:\Users\Administrator\Code\fms-e2e-chrome\node_modul
es\@nut-tree\libnut-win32\index.js:1:35)
    at Module._compile (node:internal/modules/cjs/loader:1119:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1173:10)
    at Module.load (node:internal/modules/cjs/loader:997:32) {
  code: 'ERR_DLOPEN_FAILED'
}

Steps to reproduce error

Additional content

const { mouse, left, right, up, down } = require("@nut-tree/nut-js");

(async () => {
    await mouse.move(left(500));
    await mouse.move(up(500));
    await mouse.move(right(500));
    await mouse.move(down(500))
})();

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    DONEImplementation is done, but not yet merged into masterlibnutRoot cause located in libnut

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions