-
Notifications
You must be signed in to change notification settings - Fork 11
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
cant run node PiCamera_accessory.js ? ideas? #10
Comments
Please check your node version. ~/node -v |
pi@raspberrypi:~ $ node -v |
Consider upgrading your node |
How I can update? I try pi@raspberrypi:~ $ sudo apt-get install -y nodejs |
cant update , after update still showing old version |
pi@raspberrypi:
/HomeKitCam $ ls/HomeKitCam $ node PiCamera_accessory.jsLICENSE node_modules package.json PiCamera_accessory.js README.md
pi@raspberrypi:
/home/pi/HomeKitCam/PiCamera_accessory.js:25
let sessionIdentifier = uuid.unparse(sessionID);
^^^
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:414:25)
at Object.Module._extensions..js (module.js:442:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:311:12)
at Function.Module.runMain (module.js:467:10)
at startup (node.js:134:18)
at node.js:961:3
pi@raspberrypi:~/HomeKitCam $
The text was updated successfully, but these errors were encountered: