unable to generate pdf using jsreports in a linux VM

i was trying to generate pdf using jsreports in a server
but it’s keep on throwing the below error
enter image description here

i tried installing the necessary package i don’t know how to fix this error
the below screenshot is the logic which is used to generate the pdf
the package which im used is a jsreport-core which takes chrome-pdf as a receipe to generate pdf so I tried installing chromium and it’s necessary packages, but it’s throwing an error
this issue is only persisting in a azure vm
enter image description here