Control: retitle -1 missing undici.fetch()
On 28/06/2022 17:49, Jérémy Lal wrote:
Package: node-stream-http
Version: 3.2.0+dfsg-2
Severity: serious
Tags: ftbfs
Justification: fails to build from source
I fixed node-stream-http error, however there is another bug in Node.js
>= 18:
TypeError: lazyUndici(...).fetch is not a function
at fetch (node:internal/bootstrap/pre_execution:197:25)
at ClientRequest._onFinish
(/build/node-stream-http-BkiZJD/node-stream-http-3.2.0+dfsg/lib/request.js:143:10)
at module.exports.<anonymous>
(/build/node-stream-http-BkiZJD/node-stream-http-3.2.0+dfsg/lib/request.js:61:8)
at module.exports.emit (node:events:537:28)
at finishMaybe
(/build/node-stream-http-BkiZJD/node-stream-http-3.2.0+dfsg/node_modules/readable-stream/lib/_stream_writable.js:624:14)
at endWritable
(/build/node-stream-http-BkiZJD/node-stream-http-3.2.0+dfsg/node_modules/readable-stream/lib/_stream_writable.js:643:3)
at Writable.end
(/build/node-stream-http-BkiZJD/node-stream-http-3.2.0+dfsg/node_modules/readable-stream/lib/_stream_writable.js:571:22)
at ClientRequest.end
(/build/node-stream-http-BkiZJD/node-stream-http-3.2.0+dfsg/lib/request.js:313:32)
at Object.get
(/build/node-stream-http-BkiZJD/node-stream-http-3.2.0+dfsg/index.js:44:6)
at Test.<anonymous>
(/build/node-stream-http-BkiZJD/node-stream-http-3.2.0+dfsg/test/node/http-browserify.js:39:21)
Emitted 'error' event on instance at:
at
/build/node-stream-http-BkiZJD/node-stream-http-3.2.0+dfsg/lib/request.js:157:10
at process.processTicksAndRejections
(node:internal/process/task_queues:95:5)