Skip to content

RangeError [ERR_CHILD_PROCESS_STDIO_MAXBUFFER]: stderr maxBuffer length exceeded #205

@grzegorzkrukowski

Description

@grzegorzkrukowski

Steps To Reproduce The Error

  • checkout the PR 12047 from the publicly available repository https://github.com/raycast/extensions/pull/12047/files
  • run imageoptim * to optimize all images in extensions/hyrule-compendium-search/assets/materialIcons - 85 images with few KB only
  • check the error appering

Expected Behaviour

Images should be optimised without an error

Actual Behaviour

Error is thrown

! stderr maxBuffer length exceeded

! Please raise an issue at https://github.com/JamieMason/ImageOptim-CLI/issues

    RangeError [ERR_CHILD_PROCESS_STDIO_MAXBUFFER]: stderr maxBuffer length exceeded
        at new NodeError (node:internal/errors:388:5)
        at Socket.onChildStderr (node:child_process:476:14)
        at Socket.emit (node:events:537:28)
        at addChunk (node:internal/streams/readable:324:12)
        at readableAddChunk (node:internal/streams/readable:293:11)
        at Readable.push (node:internal/streams/readable:234:10)
        at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)

Version Numbers or N/A

  • macOS: 14.1
  • /Applications/ImageOptim.app: 1.9.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions