I was using jasmine-node this weekend (package.json says it’s version 1.0.28) and hit this error:
../node_modules/jasmine-node/lib/jasmine-node/cli.js:89 var existsSync = fs.existsSync || path.existsSync; ^ ReferenceError: fs is not defined
It looks like this has already been reported here as Issue #186. The quick fix is to add the require declaration in yourself at the top of the file.
var fs = require('fs');