Headless OSX Server: "Not allowed access to the window system right now"
Turns out this is due to the Node app spawning the Mac application in the headless state. We ended up launching the Mac app via launchd and not forcing it to be a child/parent process.