You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
node:internal/errors:496
ErrorCaptureStackTrace(err);
^
TypeError [ERR_INVALID_ARG_TYPE]: The "buffer" argument must be of type string or an instance of Buffer, TypedArray, DataView, or ArrayBuffer. Received type boolean (false)
at new NodeError (node:internal/errors:405:5)
at zlibBufferSync (node:zlib:171:13)
at Object.syncBufferWrapper [as brotliCompressSync] (node:zlib:792:14)
at Object.sync (▋▋▋▋▋/node_modules/brotli-size/dist/index.js:41:19)
at Image.resize (▋▋▋▋▋/node_modules/@11ty/eleventy-img/img.js:522:36)
at async run (▋▋▋▋▋/node_modules/p-queue/dist/index.js:163:29) {
code: 'ERR_INVALID_ARG_TYPE'
}
The text was updated successfully, but these errors were encountered:
When using remote SVG Image with
svgShortCircuit: "size"
andsvgCompressionSize: "br"
, I'm getting error. Works fine with a local SVG file.Here is the code I use to reproduce the error:
...and, here is the error I get:
The text was updated successfully, but these errors were encountered: