hi!
And I made a small thing like that with express, but the problem that I have when I deployed in on azure windows web app with node >=8.9 is that making request to
the endpoint which takes used the jsreport-core, it hangs up for 2 minutes and then just timesout. I don't know, maybe my setup is wrong or maybe the jsreport core is using some different ports?
i don't see anything that looks bad with your code, however maybe the problem is related to azure limitations with phantom, you can find here another user that discover a problem and fixed by changing the azure plan, maybe you can try that.