I had the same issue using node.js and phantom in a windows machine, what I found that you need some special treatment on the windows enviroment. the npm document is here.
var phantom = require('phantom');
phantom.create(function(ph) {
return ph.createPage(function(page) {
return page.open("http://www.google.com", function(status) {
console.log("opened google? ", status);
return page.evaluate((function() {
return document.title;
}), function(result) {
console.log('Page title is ' + result);
return ph.exit();
});
});
});
}, {
dnodeOpts: {weak: false}
});
notice phantom.create(function, options, callback), and here options uses dnodeOpts: {weak: false}