tomasero / openSleep

platform for sleep hacking and research

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

running app.js on Mac

cosmicespresso opened this issue · comments

(opening and closing issue just for having it on record)

  • After a LOT of fiddling around, I had to use this response: sandeepmistry/node-xpc-connection#24 (comment) to get xpc-connection to work. Not sure how stable it is tho...
  • I also had to chmod 755 the web_app/node_modules folder.
  • Lastly, noble = require('noble') worked for me, rather then var noble = require('../noble').