Generating preview error message



  • Hello. I am getting the following error when trying to run the preview on my jsreport playground. Note that generating reports works as expected.

    Report "PGP" render failed.

    Failed to launch the browser process! spawn /tmp/jsreport/compile/jsreport-3.13.0-2HmkmL9Gy/chrome/chrome ENOENT

    TROUBLESHOOTING: https://pptr.dev/troubleshooting

    Error: Failed to launch the browser process! spawn /tmp/jsreport/compile/jsreport-3.13.0-2HmkmL9Gy/chrome/chrome ENOENT

    TROUBLESHOOTING: https://pptr.dev/troubleshooting

    at ChildProcess.onClose (/snapshot/jsreport/node_modules/@puppeteer/browsers/lib/cjs/launch.js:259:24)
    at ChildProcess.emit (node:events:390:28)
    at ChildProcess.emit (node:domain:475:12)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:288:12)
    at onErrorNT (node:internal/child_process:477:16)
    at processTicksAndRejections (node:internal/process/task_queues:83:21)


  • It seems the chrome directory in temp got deleted.

    Try to delete folder tmp/jsreport and start again.



  • Thanks, it works now


Log in to reply
 

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.