I've noticed that using node 0.10 this code doesn't work
(function(){
var phantom = require('node-phantom');
phantom.create(function(e, ph){
ph.createPage(function() {
console.log("in");
});
});
})();
not sure what the issue is, but it works just fine with node 0.11 and <0.10