Skip to content
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

SyntaxError: Block-scoped declarations #13

Open
Krillle opened this issue Dec 13, 2017 · 1 comment
Open

SyntaxError: Block-scoped declarations #13

Krillle opened this issue Dec 13, 2017 · 1 comment

Comments

@Krillle
Copy link

Krillle commented Dec 13, 2017

Starting homebridge I still get the message mentions in #9 :

ERROR LOADING PLUGIN homebridge-roomba:
SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Plugin.load (/usr/local/lib/node_modules/homebridge/lib/plugin.js:72:22)
at Server. (/usr/local/lib/node_modules/homebridge/lib/server.js:134:14)
at Array.forEach (native)

My system is Node version v4.8.4

Any ideas? Regards, Christian

@iRayanKhan
Copy link

Node V4? Node goes to Node V11 now try that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants