IFRCGo / ecv-toolkit

digital toolkit
https://ifrcgo.github.io/ecv-toolkit
1 stars 0 forks source link

PDF generation build error #39

Closed danbjoseph closed 3 years ago

danbjoseph commented 3 years ago

to generate PDFs the gulp webserverStart runs and then gulp print starts opening the pages in a headless browser and then printing/saving each one see https://github.com/IFRCGo/ecv-toolkit/blob/publish/gulpfile.js#L234 for the print function. it has a list of all the pages from: https://github.com/IFRCGo/ecv-toolkit/blob/gh-pages/pdfs.json

the error is as follows:

...
generated PDF 184 of 308
generated PDF 185 of 308
(node:7214) UnhandledPromiseRejectionWarning: #<ErrorEvent>
(node:7214) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:7214) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself.
Check the details on how to adjust your build configuration on: https://docs.travis-ci.com/user/common-build-problems/#build-times-out-because-no-output-was-received

The build has been terminated