Skip to content

doorlock.js wont open #7

@rugbyguy909

Description

@rugbyguy909

Hi guys, i try to run doorlock.js file and all i get is this,

pi@raspberrypi:~/code/Smartphone-Doorlock $ sudo node doorlock.js
/home/pi/code/Smartphone-Doorlock/doorlock.js:40
var blynkToken = '042336f74eb64113b4e1e00d40eaded7':
^

SyntaxError: Unexpected token :
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:599:28)
at Object.Module._extensions..js (module.js:646:10)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
at Function.Module._load (module.js:489:3)
at Function.Module.runMain (module.js:676:10)
at startup (bootstrap_node.js:187:16)
at bootstrap_node.js:608:3

Help would be greatly appreciated!!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions