GithubHelp home page GithubHelp logo

Getting an AES error about tuyapi HOT 6 CLOSED

S-K-Lieren avatar S-K-Lieren commented on May 23, 2024
Getting an AES error

from tuyapi.

Comments (6)

codetheweb avatar codetheweb commented on May 23, 2024

from tuyapi.

S-K-Lieren avatar S-K-Lieren commented on May 23, 2024

Actually, I started from scratch. Now I can't even run tuya-cli link-wizard anymore, it throws the following error:

:~$ tuya-cli link-wizard
/usr/lib/node_modules/@tuyapi/cli/node_modules/@tuyapi/link/index.js:79
TuyaLinkWizard.prototype.linkDevice = async function (options) {
                                            ^^^^^^^^


SyntaxError: Unexpected token function
    at createScript (vm.js:56:10)
    at Object.runInThisContext (vm.js:97:10)
    at Module._compile (module.js:549:28)
    at Object.Module._extensions..js (module.js:586:10)
    at Module.load (module.js:494:32)
    at tryModuleLoad (module.js:453:12)
    at Function.Module._load (module.js:445:3)
    at Module.require (module.js:504:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/usr/lib/node_modules/@tuyapi/cli/lib/link.js:3:41)

from tuyapi.

codetheweb avatar codetheweb commented on May 23, 2024

What's the output of node -v?

from tuyapi.

S-K-Lieren avatar S-K-Lieren commented on May 23, 2024

6.14.3

from tuyapi.

codetheweb avatar codetheweb commented on May 23, 2024

Looks like you need to update your Node version. Please update to ≥8.x.x and try again.

I would recommend using NVM if you're not already.

from tuyapi.

S-K-Lieren avatar S-K-Lieren commented on May 23, 2024

Thanks for your help.

I tried setting everything up on another machine. The wizard is running now, but it's not able to find my device(s), even though they are connected and the LED is flashing. I'm able to use my devices via Smart Life App.
Btw: What exactly does the Link Wizard do? You're asking for a SSID and even my WiFi key, for what? As I mentioned, the devices are already working in my network.

Any ideas?

Edit: Closing this, see #65

from tuyapi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.