When I use
var fs = require('fs')
I get an error stating that
require is not defined. I can still get the data from the server but it doesn't seem to let me access that data.
node -vif it prints out the version #, it should work