detro/phantomjs-jasminexml-example — Issue #1: Reference Error: Can't find variable: fs
Author: schatekar
Created: 2012-03-06 11:51:19+00:00
State: open

I was getting this error while running my specs. I added following line at the top of phantomjs_jasminexml_runner.js to get rid of this issue

var fs = require("fs");

I'm not sure if this is the correct way of addressing this issue but it did fix the problem for me.