Skip to content
This repository was archived by the owner on Apr 30, 2024. It is now read-only.
This repository was archived by the owner on Apr 30, 2024. It is now read-only.

Error when running server.js #1

Description

@southchurchbob

Hi there,
I'm following the instructions, I think, fully, but when I issue the command "sudo node server.js" I get the following output, all the build to this point appears successful.

"
Setting up EJS...
Initialising Milight bridge connection (version v6)
Checking for updates...

/home/pi/milights-bridge/server.js:477
.execSync('git rev-parse HEAD')
^
TypeError: Object # has no method 'execSync'
at getLastCommitId (/home/pi/milights-bridge/server.js:477:4)
at refreshUpdateCache (/home/pi/milights-bridge/server.js:492:14)
at initIBox (/home/pi/milights-bridge/server.js:312:2)
at Server. (/home/pi/milights-bridge/server.js:290:2)
at Server.g (events.js:180:16)
at Server.emit (events.js:92:17)
at net.js:1055:10
at process._tickCallback (node.js:419:13)
at Function.Module.runMain (module.js:499:11)
at startup (node.js:119:16)
at node.js:906:3
"

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions