In pulled code from current master, and CLI is not working:
git clone https://github.com/plasticrake/tplink-smarthome-api.git
cd tplink-smarthome-api
npm install
npm run build
npm link
Then running command line getting the following error (many commands fail with the same error):
>tplink-smarthome-api getSysInfo 10.0.0.213
Sending getSysInfo command to 10.0.0.213: via tcp...
Error:
TypeError: Found non-callable @@iterator
at sendCommandDynamic (...\tplink-smarthome-api\lib\cli.js:112:46)
In pulled code from current master, and CLI is not working:
Then running command line getting the following error (many commands fail with the same error):
Windows 10
node -v v12.20.0
typescript@4.2.2