TuyaAPI / cli

🔧 A CLI for Tuya devices
MIT License
266 stars 43 forks source link

Tuya-cli not working #140

Closed mhendu closed 2 years ago

mhendu commented 2 years ago

I am on Ubuntu 18.04 and successfully installed tuya-cli. Whenever I run it with whichever variables, I get a syntax error:

got.paginate = async function* (url, options) {

SyntaxError: Unexpected token *

codetheweb commented 2 years ago

You're probably on an old version of Node.js. Try installing v16.

mhendu commented 2 years ago

Got it, thanks. I was running from my Home Assistant PC which is a 32-bit computer running Ubuntu 18.04. I was able to run the command via a virtual machine on my desktop using Ubuntu 20.04.

On Mon, Dec 27, 2021 at 10:49 PM Max Isom @.***> wrote:

You're probably on an old version of Node.js. Try installing v16.

— Reply to this email directly, view it on GitHub https://github.com/TuyaAPI/cli/issues/140#issuecomment-1001867494, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHDOBRV2L5ZPIH7MPYZWST3UTE6VVANCNFSM5K3DSLEA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>