Hey! I get a very similar error to the one from Qwerty but I can't really figure out how he got it fixed. I didn't understand what was changed so it worked all of the sudden.
I got:
node-v16.14.0-x64
dot2apcmini2-main (https://github.com/ArtGateOne/dot2apcmini2)
unzipped in C:/
And pretty much followed all the steps
- Running dot2
- webremote on and password to "remote"
- the akai apc mini is obviously connected and works
but I constantly get the error that is also below
Display MoreHi, thanks for publishing your code! This is exactly what Im looking for. However I don't seem to get it working.
Would you mind giving more instructions on how to get it to work?
The error:
Error: The module '\\?\C:\Users\mmark\Desktop\Light\dot2apcmini\node_modules\midi\build\Release\midi.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 72. This version of Node.js requires
NODE_MODULE_VERSION 83. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).
[90m at Object.Module._extensions..node (internal/modules/cjs/loader.js:1122:18)[39m
[90m at Module.load (internal/modules/cjs/loader.js:928:32)[39m
[90m at Function.Module._load (internal/modules/cjs/loader.js:769:14)[39m
[90m at Module.require (internal/modules/cjs/loader.js:952:19)[39m
[90m at require (internal/modules/cjs/helpers.js:88:18)[39m
at bindings (C:\Users\mmark\Desktop\Light\dot2apcmini\node_modules\[4mbindings[24m\bindings.js:112:48)
at Object.<anonymous> (C:\Users\mmark\Desktop\Light\dot2apcmini\node_modules\[4mmidi[24m\midi.js:1:31)
[90m at Module._compile (internal/modules/cjs/loader.js:1063:30)[39m
[90m at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)[39m
[90m at Module.load (internal/modules/cjs/loader.js:928:32)[39m
Could you give me please more guidance?
Thanks
Here is my error after executing the command:
C:\dot2apcmini\dot2apcmini2>node dot2apcmini2.js
C:\dot2apcmini\dot2apcmini2\node_modules\bindings\bindings.js:121
throw e;
^
Error: The module '\\?\C:\dot2apcmini\dot2apcmini2\node_modules\midi\build\Release\midi.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 83. This version of Node.js requires
NODE_MODULE_VERSION 93. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).
←[90m at Object.Module._extensions..node (node:internal/modules/cjs/loader:1185:18)←[39m
←[90m at Module.load (node:internal/modules/cjs/loader:981:32)←[39m
←[90m at Function.Module._load (node:internal/modules/cjs/loader:822:12)←[39m
←[90m at Module.require (node:internal/modules/cjs/loader:1005:19)←[39m
←[90m at require (node:internal/modules/cjs/helpers:102:18)←[39m
at bindings (C:\dot2apcmini\dot2apcmini2\node_modules\←[4mbindings←[24m\bindings.js:112:48)
at Object.<anonymous> (C:\dot2apcmini\dot2apcmini2\node_modules\←[4mmidi←[24m\midi.js:1:31)
←[90m at Module._compile (node:internal/modules/cjs/loader:1103:14)←[39m
←[90m at Object.Module._extensions..js (node:internal/modules/cjs/loader:1155:10)←[39m
←[90m at Module.load (node:internal/modules/cjs/loader:981:32)←[39m {
code: ←[32m'ERR_DLOPEN_FAILED'←[39m
What is it, that I have to do to fix this issue?