-
-
Notifications
You must be signed in to change notification settings - Fork 331
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
Getting an AES error #50
Comments
Please re-run your app, prefixing it with DEBUG=* and post the output.
I.e. DEBUG=* node app.js
… On Aug 10, 2018, at 03:31, Benjamin Kauer ***@***.***> wrote:
/node_modules/node-forge/lib/aes.js:203
var len = tmp.length();
^
TypeError: tmp.length is not a function
at forge.aes.Algorithm.initialize (/node_modules/node-forge/lib/aes.js:203:19)
at new forge.cipher.BlockCipher (/node_modules/node-forge/lib/cipher.js:118:18)
at Object.forge.cipher.createCipher (/node_modules/node-forge/lib/cipher.js:42:10)
at new TuyaCipher (/node_modules/tuyapi/lib/cipher.js:13:30)
at new TuyaDevice (/node_modules/tuyapi/index.js:42:24)
at /app.js:28:13
at Array.forEach (native)
at initDevices (/app.js:26:18)
at Object. (/app.js:36:1)
at Module._compile (module.js:577:32)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Actually, I started from scratch. Now I can't even run
|
What's the output of |
6.14.3 |
Looks like you need to update your Node version. Please update to I would recommend using NVM if you're not already. |
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. Any ideas? Edit: Closing this, see #65 |
Hey guys,
I'm not able to get it running. It throws the following error:
Any ideas?
The text was updated successfully, but these errors were encountered: