I have a long CasperJS script. When I run it I get:
phantomjs file.js SyntaxError: Parse error
Is there a way to get some more information about the error. At least a line number? or any hint at all?
Try run the file.js with node, so for your example:
node file.js
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With