Nightmare.js Does Not Work With Azure Webjob
I am trying to run an azure webjob which takes a json object and renders a webpage, then prints it to pdf, via the electron browser in Nightmare.js. When I run this locally it work
Solution 1:
I guess for nightmare.js to work you need desktop interaction, which you're not getting on a WebJob.
Taken from this issue on Github:
Nightmare isn't truly headless: it requires an Electron instance to work, which in turn requires a framebuffer to render properly (at least, for now).
This will not fly on an Azure WebJob.
Post a Comment for "Nightmare.js Does Not Work With Azure Webjob"