-
-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PDFs don't compile in zenika Docker #611
Comments
It seems that you are trying to use the prior major version of Marp CLI v3.4.0. The latest Chromium may be incompatible with old CLI versions due to the migration into the new headless mode. Try the latest CLI version v4.0.0. |
I'm experiencing the same problem. Previously, I was using version 3.4.0 with the
|
If you are using Marp CLI v4.0.0, please try enabling full debug logs to help identify where the bug is occurring. Add |
This is the output enabling full debug:
Thanks! |
A possible cause is crashing Chromium process immidiately due to trying to launch the browser as the root user without disabling Chromium sandbox. Can you launch Chromium to check the version by
|
That worked like a charm! Thanks a ton for your help!
|
This case has been fixed in Marp CLI v4.0.2. |
We use a docker zenika/alpine-chrome:with-node to compile slides with Marp (URL: https://gricad-gitlab.univ-grenoble-alpes.fr/inspe-sciedu/slides). We got this error message below;
thx for fixing this!
best,
phd
node:events:497
throw er; // Unhandled 'error' event
^
Error: read ECONNRESET
at Pipe.onStreamRead (node:internal/stream_base_commons:218:20)
Emitted 'error' event on Socket instance at:
at emitErrorNT (node:internal/streams/destroy:169:8)
at emitErrorCloseNT (node:internal/streams/destroy:128:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
errno: -104,
code: 'ECONNRESET',
syscall: 'read'
}
Node.js v20.15.1
The text was updated successfully, but these errors were encountered: