-
-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tuya-cli on OpenWrt -> Error. #58
Comments
I'm guessing your Node.js version is too old. What's the output of |
node -v |
You were right. I updated my node version to v12.14.1 and now everything seems to work. Thanks a lot for your amazing work (I also add that installing stuff on routers with custom firmwares is great btw). Regards. |
👍 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I tried to install tuya-cli on my Lede router. installation went fine but when I try to launch it I receive this error. Any advice?
Regards.
Pino.
`tuya-cli
internal/util.js:214
throw new errors.TypeError('ERR_INVALID_ARG_TYPE', 'original', 'function');
^
TypeError [ERR_INVALID_ARG_TYPE]: The "original" argument must be of type function
at Object.promisify (internal/util.js:214:11)
at Object. (/usr/lib/node_modules/@tuyapi/cli/node_modules/got/dist/source/get-response.js:8:25)
at Module._compile (module.js:653:30)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Module.require (module.js:597:17)
at require (internal/module.js:11:18)
at Object. (/usr/lib/node_modules/@tuyapi/cli/node_modules/got/dist/source/request-as-event-emitter.js:13:24)
`
The text was updated successfully, but these errors were encountered: