Thank you for the pointer @admin. That helped me figure this out.
For anyone else having this issue:-
I was using the phantomjs-prebuilt package which wasn't working. When I used 1.9.8 as per the link shared by the @admin it worked :)
Thank you for the pointer @admin. That helped me figure this out.
For anyone else having this issue:-
I was using the phantomjs-prebuilt package which wasn't working. When I used 1.9.8 as per the link shared by the @admin it worked :)
Hello,
I have upgraded jsreports to the latest version but started getting this error. Application is still using phantomPDF. It works fine with the older configuration.
Here is how the package.json looks like. It works fine locally but throws phantomjs error when uploaded to the aws.
"dependencies": {
"jsreport": "^4.0.0",
"@jsreport/jsreport-cli": "4.0.2",
"phantom-pdf":"0.4.1",
"@jsreport/jsreport-phantom-pdf": "^4.0.0"
}
}
Would appreciate any pointers on what I could be doing wrong?
Cannot find module 'phantomjs'
Require stack: