GopeedLab/gopeed · error · TypeError
Blob source cannot be converted to a ReadableStream
Error message
Blob source cannot be converted to a ReadableStream
What it means
Error "Blob source cannot be converted to a ReadableStream" thrown in GopeedLab/gopeed.
Source
Thrown at pkg/download/engine/inject/stream/stream.js:558
if (sliced && typeof sliced.stream === "function") {
try {
const stream = sliced.stream();
if (stream && typeof stream.getReader === "function") {
return stream;
}
} catch (_) {
}
}
if (sliced && typeof sliced.arrayBuffer === "function") {
const buffer = await sliced.arrayBuffer();
return new ReadableStream({
start(controller) {
controller.enqueue(new Uint8Array(buffer));
controller.close();
},
});
}
throw new TypeError("Blob source cannot be converted to a ReadableStream");
}
function describeObjectURLValue(value) {
if (value instanceof Blob) {
return {
kind: "blob",
value,
};
}
if (typeof value === "function") {
return {
kind: "opener",
openReadable: value,
sourceLabel: "gopeed.runtime.blob.createObjectURL opener function",
};
}
return {
kind: "other",View on GitHub (pinned to 7b7327ffb3)
When it happens
Trigger: Thrown at pkg/download/engine/inject/stream/stream.js:558 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of GopeedLab/gopeed@7b7327ffb3 (2026-08-16).
Data as JSON: /api/errors/73de6be1828434d8.
Report an issue: GitHub.