erztemplerobba
Explore posts from serversENOENT Error with puppeteer when creating .pdf
I am using puppeteer in my express server app to create a .pdf file from a html template. It works fine locally and throws this error when I upload the server app to railway.
(from railway deploy log):
This is the code that I'm using in my node express server:
The
console.log('tempPath', tempPath)
is the first line in the error message. The next line (pdf creation) seems to create the error.:
Help would be much appreciated.10 replies