update: I figured it out. The dependencies when I installed was outside of the bin folder.
I am running the utility on a rpi3 legacy desktop version. Running the below command gives this erorr. --verbose does not produce any logs either.
running nodejs v18.19
ds1@ds1:~/Meross/bin $ ./meross-info -gateway 10.10.10.1
/home/ds1/Meross/bin/meross:9
.version(version)
^
TypeError: program.version is not a function
at Object.<anonymous> (/home/ds1/Meross/bin/meross:9:4)
at Module._compile (node:internal/modules/cjs/loader:1356:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
at node:internal/main/run_main_module:28:49
update: I figured it out. The dependencies when I installed was outside of the bin folder.
I am running the utility on a rpi3 legacy desktop version. Running the below command gives this erorr. --verbose does not produce any logs either.
running nodejs v18.19