From c3ca6301980f87c807f2fc85c99d3274053be945 Mon Sep 17 00:00:00 2001 From: Brenden Kokoszka Date: Sun, 14 Feb 2016 15:25:39 -0800 Subject: [PATCH] Fixing name of phantomjs module --- lib/webshot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/webshot.js b/lib/webshot.js index 8c1959c..5b8a21c 100644 --- a/lib/webshot.js +++ b/lib/webshot.js @@ -63,7 +63,7 @@ module.exports = function() { // Apply the compiled phantomjs path only if it compiled successfully try { - defaults.phantomPath = require('phantomjs').path; + defaults.phantomPath = require('phantomjs-prebuilt').path; } catch (ex) {} options = processOptions(options, defaults);