miio
miio copied to clipboard
Not enough non-option arguments: got 0, need at least 1
When I input anything about miio, it would send me the error about this "Not enough non-option arguments: got 0, need at least 1"
miio
Commands:
miio configure <idOrIp> Control a device by invoking the
given method
miio control <idOrIp>
Options: --help Show help [boolean] --version Show version number [boolean]
Not enough non-option arguments: got 0, need at least 1
I was getting the same error because I was doing "miio --discover" instead of "miio discover"… it's working now.
If the problem appears in an angular application the problem is that you are running the wrong command.Open the package.json file and check the commands.