Closed uberadminer closed 7 years ago
What version of node are you using? I think this is related to the modern default parameters value syntax. I can rewrite it without that, though, when I get home.
node v4.2.2 npm 2.14.7
Ah, yeh. If you want, just update to latest nodejs and it should work, but I don't mind making it work for old node, too.
Yea updating fixed, thanks.
/usr/local/lib/node_modules/tplink-lightbulb/index.js:62 set (power = true, transition = 0, options = {}) { ^
SyntaxError: Unexpected token =
When I try to run tplight this is what the terminal spits out.