-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Somehow the check fails, even though it shouldn't.. I solved it by removing the check.
This one:
maya22-web-control/mayacontrol.js
Lines 71 to 73 in ca9708d
| if (!fs.existsSync(cliPath)) { | |
| throw new Error('maya22-control executable not found.'); | |
| } |
Is it a bug, or am I missing something?
$ cat .clipath
/usr/bin/maya22-control
$ ls -l /usr/bin/maya22-control
-rwxr-xr-x 1 root root 14432 Apr 17 2023 /usr/bin/maya22-control
$ npm run network
> maya22-web-control@1.3.4 network
> node mayacontrol.js --network
Device:
2573:0017 - /dev/hidraw0
vendor: ESI Audiotechnik GmbH
product: MAYA22 USB
Path to the maya22-control executable: /usr/bin/maya22-control
/home/michael/src/maya22-web-control/mayacontrol.js:72
throw new Error('maya22-control executable not found.');
^
Error: maya22-control executable not found.
at Object.<anonymous> (/home/michael/src/maya22-web-control/mayacontrol.js:72:11)
at Module._compile (node:internal/modules/cjs/loader:1546:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1691:10)
at Module.load (node:internal/modules/cjs/loader:1317:32)
at Module._load (node:internal/modules/cjs/loader:1127:12)
at TracingChannel.traceSync (node:diagnostics_channel:315:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:217:24)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:166:5)
at node:internal/main/run_main_module:30:49
Node.js v22.9.0
Metadata
Metadata
Assignees
Labels
No labels