You can clone with
Suddenly started getting these errors in my Rails app. Looks like it's coming from CoffeeScript parsing an blank .coffee file.
756: unexpected token at 'fstat: Bad file descriptor
What seems to be the problem is, that you want to parse a JSON document, but instead you're trying to parse the string "fstat: Bad file descriptor" which isn't JSON. It looks more like an error message related to the fstat POSIX function, maybe you can figure out why it happens?
Restarting nginx seemed to have fixed the issue, so it must have been some OS X crazyness.