Cloud-Automation / node-modbus

Modbus TCP Client/Server implementation for Node.JS
456 stars 169 forks source link

jsmodbus CLI requires Commander #289

Closed mainstreetmark closed 2 years ago

mainstreetmark commented 3 years ago

I installed jsmodbus globally, and attempted to run:

$ npm install jsmodbus -g 

added 4 packages, and audited 5 packages in 816ms

found 0 vulnerabilities
$ jsmodbus --help         
node:internal/modules/cjs/loader:927
  throw err;
  ^

Error: Cannot find module 'commander'

After globally installing commander, everything works.

stefanpoeter commented 2 years ago

@mainstreetmark Sorry for the late reply. I am always happy about pull requests.