-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
Hi,
I've used this module before and it worked like a charm.
Now on a new computer I've installed Phanthom.js 2.0.
The module now doesn't seem to work.
Using the example code i get this in my terminal.
Is this correct (because 2.0 is not supported) OR am I doing something wrong?
Thx in advance!
2015-09-07T16:15:30 [DEBUG] 2 arg: "{"viewportSize":{"width":1440,"height":900},"paperSize":{"format":"A4","orientation":"portrait","margin":{"top":"1cm","right":"1cm","bottom":"1cm","left":"1cm"}},"outputQuality":"80","zoomFactor":1,"args":"--debug=true","captureDelay":400}"
2015-09-07T16:15:30 [DEBUG] Phantom - execute: Starting normal mode
2015-09-07T16:15:30 [DEBUG] WebPage - setupFrame ""
2015-09-07T16:15:30 [DEBUG] FileSystem - _open: ":/modules/fs.js" QMap(("mode", QVariant(QString, "r") ) )
2015-09-07T16:15:30 [DEBUG] FileSystem - _open: ":/modules/system.js" QMap(("mode", QVariant(QString, "r") ) )
2015-09-07T16:15:30 [DEBUG] FileSystem - _open: ":/modules/webpage.js" QMap(("mode", QVariant(QString, "r") ) )
TypeError: undefined is not an object (evaluating 'phantom.args.length')
/path-to-project/node_modules/nodepdf/render.js:11 in global code
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels