googlebot icon indicating copy to clipboard operation
googlebot copied to clipboard

Cannot call method 'createPage' of undefined

Open FezVrasta opened this issue 11 years ago • 0 comments

Hello, I'm trying to use your module but when I visit the page http://localhost:3000/?escaped_fragment=

I get this error:

c:\Users\MainAccount\Documents\Projects\TekhyBoard\node_modules\googlebot\indexjs:53
      ph.createPage(function(err,page) {
         ^
TypeError: Cannot call method 'createPage' of undefined
    at c:\Users\MainAccount\Documents\Projects\TekhyBoard\node_modules\googlebo\index.js:53:10
    at c:\Users\MainAccount\Documents\Projects\TekhyBoard\node_modules\googlebo\node_modules\node-phantom\node-phantom.js:65:6
    at null._onTimeout (c:\Users\MainAccount\Documents\Projects\TekhyBoard\nodemodules\googlebot\node_modules\node-phantom\node-phantom.js:43:5)
    at Timer.listOnTimeout [as ontimeout] (timers.js:110:15)

I've PhantomJS installed globally...

How can I fix it? Thanks.

FezVrasta avatar Jul 13 '14 16:07 FezVrasta