feat: upgrade to undici v7 #1314
nodejs.yml
on: pull_request
Node.js
/
Setup
5s
Matrix: Node.js / Test
Annotations
150 errors
test/options.dispatcher.test.ts > options.dispatcher.test.ts > should work with proxyAgent dispatcher:
src/utils.ts#L38
JSONResponseFormatError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON (data json format: "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>301 Moved Permanently</title></head>\r\n<body>\r\n<h1>301 Moved Permanently</h1>\r\n<p>The requested resource has been assigned a new permanent URI.</p>\r\n<hr/>Powered by Tengine</body>\r\n</html>\r\n")
❯ parseJSON src/utils.ts:38:17
❯ HttpClient.#requestInternal src/HttpClient.ts:654:20
❯ HttpClient.request src/HttpClient.ts:257:12
❯ request src/index.ts:27:10
❯ test/options.dispatcher.test.ts:43:23
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { opaque: undefined, status: 301, headers: { server: 'Tengine', date: 'Thu, 28 Nov 2024 04:04:29 GMT', 'content-type': 'text/html', 'content-length': '262', connection: 'keep-alive', location: 'https://registry.npmmirror.com/urllib/latest', via: 'ens-cache4.us18[,0]', 'timing-allow-origin': '*', eagleid: '2ff6189817327666698563488e' }, res: { status: 301, statusCode: 301, statusText: 'Moved Permanently', statusMessage: 'Moved Permanently', headers: { server: 'Tengine', date: 'Thu, 28 Nov 2024 04:04:29 GMT', 'content-type': 'text/html', 'content-length': '262', connection: 'keep-alive', location: 'https://registry.npmmirror.com/urllib/latest', via: 'ens-cache4.us18[,0]', 'timing-allow-origin': '*', eagleid: '2ff6189817327666698563488e' }, size: 262, aborted: false, rt: 15.074, keepAliveSocket: true, requestUrls: [ 'http://registry.npmmirror.com/urllib/latest' ], timing: { queuing: 0.25, connected: 8.232, requestHeadersSent: 8.285, requestSent: 8.454, waiting: 14.573, contentDownload: 14.748 }, socket: { id: 4, localAddress: '127.0.0.1', localPort: 46922, remoteAddress: '127.0.0.1', remotePort: 35853, remoteFamily: 'IPv4', bytesWritten: 267, bytesRead: 658, handledRequests: 1, handledResponses: 1, connectedTime: '2024-11-28T04:04:29.855Z' }, retries: +0, socketErrorRetries: +0 }, socket: { id: 4, localAddress: '127.0.0.1', localPort: 46922, remoteAddress: '127.0.0.1', remotePort: 35853, remoteFamily: 'IPv4', bytesWritten: 267, bytesRead: 658, handledRequests: 1, handledResponses: 1, connectedTime: '2024-11-28T04:04:29.855Z' } }
|
test/options.files.test.ts > options.files.test.ts > should upload a file with filepath success with default POST method:
src/HttpClient.ts#L499
TypeError: FormData.append: Expected value ("BlobFromStream [Blob] {}") to be an instance of Blob.
❯ Object.webidl.errors.exception node_modules/undici/lib/web/fetch/webidl.js:27:10
❯ Object.Blob node_modules/undici/lib/web/fetch/webidl.js:395:27
❯ FormData.append node_modules/undici/lib/web/fetch/formdata.js:37:33
❯ HttpClient.#requestInternal src/HttpClient.ts:499:22
❯ HttpClient.request src/HttpClient.ts:257:23
❯ Object.request src/index.ts:27:39
❯ test/options.files.test.ts:26:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { opaque: undefined, status: -1, headers: {}, res: { status: -1, statusCode: -1, statusText: '', statusMessage: '', headers: {}, size: +0, aborted: false, rt: 1.468, keepAliveSocket: true, requestUrls: [ 'http://localhost:33969/multipart' ], timing: { queuing: +0, connected: +0, requestHeadersSent: +0, requestSent: +0, waiting: +0, contentDownload: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 }, retries: +0, socketErrorRetries: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 } }
|
test/options.files.test.ts > options.files.test.ts > should upload files = [filepath] success with default POST method:
src/HttpClient.ts#L499
TypeError: FormData.append: Expected value ("BlobFromStream [Blob] {}") to be an instance of Blob.
❯ Object.webidl.errors.exception node_modules/undici/lib/web/fetch/webidl.js:27:10
❯ Object.Blob node_modules/undici/lib/web/fetch/webidl.js:395:27
❯ FormData.append node_modules/undici/lib/web/fetch/formdata.js:37:33
❯ HttpClient.#requestInternal src/HttpClient.ts:499:22
❯ HttpClient.request src/HttpClient.ts:257:23
❯ Object.request src/index.ts:27:39
❯ test/options.files.test.ts:42:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { opaque: undefined, status: -1, headers: {}, res: { status: -1, statusCode: -1, statusText: '', statusMessage: '', headers: {}, size: +0, aborted: false, rt: 0.196, keepAliveSocket: true, requestUrls: [ 'http://localhost:33969/multipart' ], timing: { queuing: +0, connected: +0, requestHeadersSent: +0, requestSent: +0, waiting: +0, contentDownload: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 }, retries: +0, socketErrorRetries: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 } }
|
test/options.files.test.ts > options.files.test.ts > should upload multi files: Array<string> success with default POST method:
src/HttpClient.ts#L499
TypeError: FormData.append: Expected value ("BlobFromStream [Blob] {}") to be an instance of Blob.
❯ Object.webidl.errors.exception node_modules/undici/lib/web/fetch/webidl.js:27:10
❯ Object.Blob node_modules/undici/lib/web/fetch/webidl.js:395:27
❯ FormData.append node_modules/undici/lib/web/fetch/formdata.js:37:33
❯ HttpClient.#requestInternal src/HttpClient.ts:499:22
❯ HttpClient.request src/HttpClient.ts:257:23
❯ Object.request src/index.ts:27:39
❯ test/options.files.test.ts:60:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { opaque: undefined, status: -1, headers: {}, res: { status: -1, statusCode: -1, statusText: '', statusMessage: '', headers: {}, size: +0, aborted: false, rt: 0.158, keepAliveSocket: true, requestUrls: [ 'http://localhost:33969/multipart' ], timing: { queuing: +0, connected: +0, requestHeadersSent: +0, requestSent: +0, waiting: +0, contentDownload: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 }, retries: +0, socketErrorRetries: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 } }
|
test/options.files.test.ts > options.files.test.ts > should upload multi files: Record<field, string> success with default POST method:
src/HttpClient.ts#L499
TypeError: FormData.append: Expected value ("BlobFromStream [Blob] {}") to be an instance of Blob.
❯ Object.webidl.errors.exception node_modules/undici/lib/web/fetch/webidl.js:27:10
❯ Object.Blob node_modules/undici/lib/web/fetch/webidl.js:395:27
❯ FormData.append node_modules/undici/lib/web/fetch/formdata.js:37:33
❯ HttpClient.#requestInternal src/HttpClient.ts:499:22
❯ HttpClient.request src/HttpClient.ts:257:23
❯ Object.request src/index.ts:27:39
❯ test/options.files.test.ts:84:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { opaque: undefined, status: -1, headers: {}, res: { status: -1, statusCode: -1, statusText: '', statusMessage: '', headers: {}, size: +0, aborted: false, rt: 0.157, keepAliveSocket: true, requestUrls: [ 'http://localhost:33969/multipart' ], timing: { queuing: +0, connected: +0, requestHeadersSent: +0, requestSent: +0, waiting: +0, contentDownload: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 }, retries: +0, socketErrorRetries: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 } }
|
test/options.files.test.ts > options.files.test.ts > should upload a file with stream success:
src/HttpClient.ts#L504
TypeError: FormData.append: Expected value ("BlobFromStream [Blob] {}") to be an instance of Blob.
❯ Object.webidl.errors.exception node_modules/undici/lib/web/fetch/webidl.js:27:10
❯ Object.Blob node_modules/undici/lib/web/fetch/webidl.js:395:27
❯ FormData.append node_modules/undici/lib/web/fetch/formdata.js:37:33
❯ HttpClient.#requestInternal src/HttpClient.ts:504:22
❯ HttpClient.request src/HttpClient.ts:257:23
❯ Object.request src/index.ts:27:39
❯ test/options.files.test.ts:132:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { opaque: undefined, status: -1, headers: {}, res: { status: -1, statusCode: -1, statusText: '', statusMessage: '', headers: {}, size: +0, aborted: false, rt: 0.179, keepAliveSocket: true, requestUrls: [ 'http://localhost:33969/multipart' ], timing: { queuing: +0, connected: +0, requestHeadersSent: +0, requestSent: +0, waiting: +0, contentDownload: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 }, retries: +0, socketErrorRetries: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 } }
|
test/options.files.test.ts > options.files.test.ts > should upload multi file with Array<String|Buffer|Stream> success:
src/HttpClient.ts#L499
TypeError: FormData.append: Expected value ("BlobFromStream [Blob] {}") to be an instance of Blob.
❯ Object.webidl.errors.exception node_modules/undici/lib/web/fetch/webidl.js:27:10
❯ Object.Blob node_modules/undici/lib/web/fetch/webidl.js:395:27
❯ FormData.append node_modules/undici/lib/web/fetch/formdata.js:37:33
❯ HttpClient.#requestInternal src/HttpClient.ts:499:22
❯ HttpClient.request src/HttpClient.ts:257:23
❯ Object.request src/index.ts:27:39
❯ test/options.files.test.ts:191:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { opaque: undefined, status: -1, headers: {}, res: { status: -1, statusCode: -1, statusText: '', statusMessage: '', headers: {}, size: +0, aborted: false, rt: 0.177, keepAliveSocket: true, requestUrls: [ 'http://localhost:33969/multipart' ], timing: { queuing: +0, connected: +0, requestHeadersSent: +0, requestSent: +0, waiting: +0, contentDownload: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 }, retries: +0, socketErrorRetries: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 } }
|
test/options.files.test.ts > options.files.test.ts > should upload a file with args.data success:
src/HttpClient.ts#L499
TypeError: FormData.append: Expected value ("BlobFromStream [Blob] {}") to be an instance of Blob.
❯ Object.webidl.errors.exception node_modules/undici/lib/web/fetch/webidl.js:27:10
❯ Object.Blob node_modules/undici/lib/web/fetch/webidl.js:395:27
❯ FormData.append node_modules/undici/lib/web/fetch/formdata.js:37:33
❯ HttpClient.#requestInternal src/HttpClient.ts:499:22
❯ HttpClient.request src/HttpClient.ts:257:23
❯ Object.request src/index.ts:27:39
❯ test/options.files.test.ts:221:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { opaque: undefined, status: -1, headers: {}, res: { status: -1, statusCode: -1, statusText: '', statusMessage: '', headers: {}, size: +0, aborted: false, rt: 0.216, keepAliveSocket: true, requestUrls: [ 'http://localhost:33969/multipart' ], timing: { queuing: +0, connected: +0, requestHeadersSent: +0, requestSent: +0, waiting: +0, contentDownload: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 }, retries: +0, socketErrorRetries: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 } }
|
test/options.files.test.ts > options.files.test.ts > should upload same field name between files and data:
src/HttpClient.ts#L499
TypeError: FormData.append: Expected value ("BlobFromStream [Blob] {}") to be an instance of Blob.
❯ Object.webidl.errors.exception node_modules/undici/lib/web/fetch/webidl.js:27:10
❯ Object.Blob node_modules/undici/lib/web/fetch/webidl.js:395:27
❯ FormData.append node_modules/undici/lib/web/fetch/formdata.js:37:33
❯ HttpClient.#requestInternal src/HttpClient.ts:499:22
❯ HttpClient.request src/HttpClient.ts:257:23
❯ Object.request src/index.ts:27:39
❯ test/options.files.test.ts:247:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { opaque: undefined, status: -1, headers: {}, res: { status: -1, statusCode: -1, statusText: '', statusMessage: '', headers: {}, size: +0, aborted: false, rt: 0.297, keepAliveSocket: true, requestUrls: [ 'http://localhost:33969/multipart' ], timing: { queuing: +0, connected: +0, requestHeadersSent: +0, requestSent: +0, waiting: +0, contentDownload: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 }, retries: +0, socketErrorRetries: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 } }
|
test/options.files.test.ts > options.files.test.ts > should support custom fileName when use files:object:
src/HttpClient.ts#L504
TypeError: FormData.append: Expected value ("BlobFromStream [Blob] {}") to be an instance of Blob.
❯ Object.webidl.errors.exception node_modules/undici/lib/web/fetch/webidl.js:27:10
❯ Object.Blob node_modules/undici/lib/web/fetch/webidl.js:395:27
❯ FormData.append node_modules/undici/lib/web/fetch/formdata.js:37:33
❯ HttpClient.#requestInternal src/HttpClient.ts:504:22
❯ HttpClient.request src/HttpClient.ts:257:23
❯ Object.request src/index.ts:27:39
❯ test/options.files.test.ts:274:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { opaque: undefined, status: -1, headers: {}, res: { status: -1, statusCode: -1, statusText: '', statusMessage: '', headers: {}, size: +0, aborted: false, rt: 0.348, keepAliveSocket: true, requestUrls: [ 'http://localhost:33969/multipart' ], timing: { queuing: +0, connected: +0, requestHeadersSent: +0, requestSent: +0, waiting: +0, contentDownload: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 }, retries: +0, socketErrorRetries: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 } }
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:141:9
❯ writeH1 node_modules/undici/lib/dispatcher/client-h1.js:1155:26
❯ Object.write node_modules/undici/lib/dispatcher/client-h1.js:805:14
❯ _resume node_modules/undici/lib/dispatcher/client.js:601:50
❯ resume node_modules/undici/lib/dispatcher/client.js:523:3
❯ Client.<computed> node_modules/undici/lib/dispatcher/client.js:250:31
❯ connect node_modules/undici/lib/dispatcher/client.js:508:18
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace socket info by undici:client:sendHeaders and undici:request:trailers". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:141:9
❯ Request.onComplete node_modules/undici/lib/core/request.js:278:25
❯ Parser.onMessageComplete node_modules/undici/lib/dispatcher/client-h1.js:712:13
❯ wasm_on_message_complete node_modules/undici/lib/dispatcher/client-h1.js:160:30
❯ null.<anonymous> wasm:/wasm/00032d9a:1:32718
❯ Parser.execute node_modules/undici/lib/dispatcher/client-h1.js:332:22
❯ Parser.readMore node_modules/undici/lib/dispatcher/client-h1.js:296:12
❯ Socket.onHttpSocketReadable node_modules/undici/lib/dispatcher/client-h1.js:890:18
❯ Socket.emit node:events:517:28
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace socket info by undici:client:sendHeaders and undici:request:trailers". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:141:9
❯ writeH1 node_modules/undici/lib/dispatcher/client-h1.js:1155:26
❯ Object.write node_modules/undici/lib/dispatcher/client-h1.js:805:14
❯ _resume node_modules/undici/lib/dispatcher/client.js:601:50
❯ resume node_modules/undici/lib/dispatcher/client.js:523:3
❯ Client.<computed> node_modules/undici/lib/dispatcher/client.js:250:31
❯ connect node_modules/undici/lib/dispatcher/client.js:508:18
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:141:9
❯ Request.onComplete node_modules/undici/lib/core/request.js:278:25
❯ Parser.onMessageComplete node_modules/undici/lib/dispatcher/client-h1.js:712:13
❯ wasm_on_message_complete node_modules/undici/lib/dispatcher/client-h1.js:160:30
❯ null.<anonymous> wasm:/wasm/00032d9a:1:32718
❯ Parser.execute node_modules/undici/lib/dispatcher/client-h1.js:332:22
❯ Parser.readMore node_modules/undici/lib/dispatcher/client-h1.js:296:12
❯ Socket.onHttpSocketReadable node_modules/undici/lib/dispatcher/client-h1.js:890:18
❯ Socket.emit node:events:517:28
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:141:9
❯ writeH1 node_modules/undici/lib/dispatcher/client-h1.js:1155:26
❯ Object.write node_modules/undici/lib/dispatcher/client-h1.js:805:14
❯ _resume node_modules/undici/lib/dispatcher/client.js:601:50
❯ resume node_modules/undici/lib/dispatcher/client.js:523:3
❯ Client.<computed> node_modules/undici/lib/dispatcher/client.js:250:31
❯ connect node_modules/undici/lib/dispatcher/client.js:508:18
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:141:9
❯ Request.onComplete node_modules/undici/lib/core/request.js:278:25
❯ Parser.onMessageComplete node_modules/undici/lib/dispatcher/client-h1.js:712:13
❯ wasm_on_message_complete node_modules/undici/lib/dispatcher/client-h1.js:160:30
❯ null.<anonymous> wasm:/wasm/00032d9a:1:6933
❯ Parser.execute node_modules/undici/lib/dispatcher/client-h1.js:332:22
❯ Parser.readMore node_modules/undici/lib/dispatcher/client-h1.js:296:12
❯ Socket.onHttpSocketReadable node_modules/undici/lib/dispatcher/client-h1.js:890:18
❯ Socket.emit node:events:517:28
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:141:9
❯ writeH1 node_modules/undici/lib/dispatcher/client-h1.js:1155:26
❯ Object.write node_modules/undici/lib/dispatcher/client-h1.js:805:14
❯ _resume node_modules/undici/lib/dispatcher/client.js:601:50
❯ resume node_modules/undici/lib/dispatcher/client.js:523:3
❯ Client.<computed> node_modules/undici/lib/dispatcher/client.js:250:31
❯ Client.[dispatch] node_modules/undici/lib/dispatcher/client.js:305:20
❯ Client.dispatch node_modules/undici/lib/dispatcher/dispatcher-base.js:148:29
❯ Pool.[dispatch] node_modules/undici/lib/dispatcher/pool-base.js:143:28
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:141:9
❯ Request.onComplete node_modules/undici/lib/core/request.js:278:25
❯ Parser.onMessageComplete node_modules/undici/lib/dispatcher/client-h1.js:712:13
❯ wasm_on_message_complete node_modules/undici/lib/dispatcher/client-h1.js:160:30
❯ null.<anonymous> wasm:/wasm/00032d9a:1:6933
❯ Parser.execute node_modules/undici/lib/dispatcher/client-h1.js:332:22
❯ Parser.readMore node_modules/undici/lib/dispatcher/client-h1.js:296:12
❯ Socket.onHttpSocketReadable node_modules/undici/lib/dispatcher/client-h1.js:890:18
❯ Socket.emit node:events:517:28
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:141:9
❯ writeH1 node_modules/undici/lib/dispatcher/client-h1.js:1155:26
❯ Object.write node_modules/undici/lib/dispatcher/client-h1.js:805:14
❯ _resume node_modules/undici/lib/dispatcher/client.js:601:50
❯ resume node_modules/undici/lib/dispatcher/client.js:523:3
❯ Client.<computed> node_modules/undici/lib/dispatcher/client.js:250:31
❯ Client.[dispatch] node_modules/undici/lib/dispatcher/client.js:305:20
❯ Client.dispatch node_modules/undici/lib/dispatcher/dispatcher-base.js:148:29
❯ Pool.[dispatch] node_modules/undici/lib/dispatcher/pool-base.js:143:28
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:141:9
❯ Request.onComplete node_modules/undici/lib/core/request.js:278:25
❯ Parser.onMessageComplete node_modules/undici/lib/dispatcher/client-h1.js:712:13
❯ wasm_on_message_complete node_modules/undici/lib/dispatcher/client-h1.js:160:30
❯ null.<anonymous> wasm:/wasm/00032d9a:1:6933
❯ Parser.execute node_modules/undici/lib/dispatcher/client-h1.js:332:22
❯ Parser.readMore node_modules/undici/lib/dispatcher/client-h1.js:296:12
❯ Socket.onHttpSocketReadable node_modules/undici/lib/dispatcher/client-h1.js:890:18
❯ Socket.emit node:events:517:28
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
test/options.dispatcher.test.ts > options.dispatcher.test.ts > should work with proxyAgent dispatcher:
src/utils.ts#L38
JSONResponseFormatError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON (data json format: "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>301 Moved Permanently</title></head>\r\n<body>\r\n<h1>301 Moved Permanently</h1>\r\n<p>The requested resource has been assigned a new permanent URI.</p>\r\n<hr/>Powered by Tengine</body>\r\n</html>\r\n")
❯ parseJSON src/utils.ts:38:17
❯ HttpClient.#requestInternal src/HttpClient.ts:654:20
❯ HttpClient.request src/HttpClient.ts:257:12
❯ request src/index.ts:27:10
❯ test/options.dispatcher.test.ts:43:23
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { opaque: undefined, status: 301, headers: { server: 'Tengine', date: 'Thu, 28 Nov 2024 04:04:33 GMT', 'content-type': 'text/html', 'content-length': '262', connection: 'keep-alive', location: 'https://registry.npmmirror.com/urllib/latest', via: 'ens-cache16.us18[,0]', 'timing-allow-origin': '*', eagleid: '2ff618a417327666731871612e' }, res: { status: 301, statusCode: 301, statusText: 'Moved Permanently', statusMessage: 'Moved Permanently', headers: { server: 'Tengine', date: 'Thu, 28 Nov 2024 04:04:33 GMT', 'content-type': 'text/html', 'content-length': '262', connection: 'keep-alive', location: 'https://registry.npmmirror.com/urllib/latest', via: 'ens-cache16.us18[,0]', 'timing-allow-origin': '*', eagleid: '2ff618a417327666731871612e' }, size: 262, aborted: false, rt: 15.12, keepAliveSocket: true, requestUrls: [ 'http://registry.npmmirror.com/urllib/latest' ], timing: { queuing: 0.159, connected: 8.069, requestHeadersSent: 8.115, requestSent: 8.165, waiting: 14.744, contentDownload: 14.865 }, socket: { id: 4, localAddress: '127.0.0.1', localPort: 41058, remoteAddress: '127.0.0.1', remotePort: 34087, remoteFamily: 'IPv4', bytesWritten: 268, bytesRead: 659, handledRequests: 1, handledResponses: 1, connectedTime: '2024-11-28T04:04:33.186Z' }, retries: +0, socketErrorRetries: +0 }, socket: { id: 4, localAddress: '127.0.0.1', localPort: 41058, remoteAddress: '127.0.0.1', remotePort: 34087, remoteFamily: 'IPv4', bytesWritten: 268, bytesRead: 659, handledRequests: 1, handledResponses: 1, connectedTime: '2024-11-28T04:04:33.186Z' } }
|
test/options.files.test.ts > options.files.test.ts > should upload a file with filepath success with default POST method:
src/HttpClient.ts#L499
TypeError: FormData.append: Expected value ("BlobFromStream [Blob] {}") to be an instance of Blob.
❯ Object.webidl.errors.exception node_modules/undici/lib/web/fetch/webidl.js:27:10
❯ Object.Blob node_modules/undici/lib/web/fetch/webidl.js:395:27
❯ FormData.append node_modules/undici/lib/web/fetch/formdata.js:37:33
❯ HttpClient.#requestInternal src/HttpClient.ts:499:22
❯ HttpClient.request src/HttpClient.ts:257:23
❯ Object.request src/index.ts:27:39
❯ test/options.files.test.ts:26:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { opaque: undefined, status: -1, headers: {}, res: { status: -1, statusCode: -1, statusText: '', statusMessage: '', headers: {}, size: +0, aborted: false, rt: 0.949, keepAliveSocket: true, requestUrls: [ 'http://localhost:43217/multipart' ], timing: { queuing: +0, connected: +0, requestHeadersSent: +0, requestSent: +0, waiting: +0, contentDownload: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 }, retries: +0, socketErrorRetries: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 } }
|
test/options.files.test.ts > options.files.test.ts > should upload files = [filepath] success with default POST method:
src/HttpClient.ts#L499
TypeError: FormData.append: Expected value ("BlobFromStream [Blob] {}") to be an instance of Blob.
❯ Object.webidl.errors.exception node_modules/undici/lib/web/fetch/webidl.js:27:10
❯ Object.Blob node_modules/undici/lib/web/fetch/webidl.js:395:27
❯ FormData.append node_modules/undici/lib/web/fetch/formdata.js:37:33
❯ HttpClient.#requestInternal src/HttpClient.ts:499:22
❯ HttpClient.request src/HttpClient.ts:257:23
❯ Object.request src/index.ts:27:39
❯ test/options.files.test.ts:42:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { opaque: undefined, status: -1, headers: {}, res: { status: -1, statusCode: -1, statusText: '', statusMessage: '', headers: {}, size: +0, aborted: false, rt: 0.117, keepAliveSocket: true, requestUrls: [ 'http://localhost:43217/multipart' ], timing: { queuing: +0, connected: +0, requestHeadersSent: +0, requestSent: +0, waiting: +0, contentDownload: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 }, retries: +0, socketErrorRetries: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 } }
|
test/options.files.test.ts > options.files.test.ts > should upload multi files: Array<string> success with default POST method:
src/HttpClient.ts#L499
TypeError: FormData.append: Expected value ("BlobFromStream [Blob] {}") to be an instance of Blob.
❯ Object.webidl.errors.exception node_modules/undici/lib/web/fetch/webidl.js:27:10
❯ Object.Blob node_modules/undici/lib/web/fetch/webidl.js:395:27
❯ FormData.append node_modules/undici/lib/web/fetch/formdata.js:37:33
❯ HttpClient.#requestInternal src/HttpClient.ts:499:22
❯ HttpClient.request src/HttpClient.ts:257:23
❯ Object.request src/index.ts:27:39
❯ test/options.files.test.ts:60:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { opaque: undefined, status: -1, headers: {}, res: { status: -1, statusCode: -1, statusText: '', statusMessage: '', headers: {}, size: +0, aborted: false, rt: 0.079, keepAliveSocket: true, requestUrls: [ 'http://localhost:43217/multipart' ], timing: { queuing: +0, connected: +0, requestHeadersSent: +0, requestSent: +0, waiting: +0, contentDownload: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 }, retries: +0, socketErrorRetries: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 } }
|
test/options.files.test.ts > options.files.test.ts > should upload multi files: Record<field, string> success with default POST method:
src/HttpClient.ts#L499
TypeError: FormData.append: Expected value ("BlobFromStream [Blob] {}") to be an instance of Blob.
❯ Object.webidl.errors.exception node_modules/undici/lib/web/fetch/webidl.js:27:10
❯ Object.Blob node_modules/undici/lib/web/fetch/webidl.js:395:27
❯ FormData.append node_modules/undici/lib/web/fetch/formdata.js:37:33
❯ HttpClient.#requestInternal src/HttpClient.ts:499:22
❯ HttpClient.request src/HttpClient.ts:257:23
❯ Object.request src/index.ts:27:39
❯ test/options.files.test.ts:84:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { opaque: undefined, status: -1, headers: {}, res: { status: -1, statusCode: -1, statusText: '', statusMessage: '', headers: {}, size: +0, aborted: false, rt: 0.095, keepAliveSocket: true, requestUrls: [ 'http://localhost:43217/multipart' ], timing: { queuing: +0, connected: +0, requestHeadersSent: +0, requestSent: +0, waiting: +0, contentDownload: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 }, retries: +0, socketErrorRetries: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 } }
|
test/options.files.test.ts > options.files.test.ts > should upload a file with stream success:
src/HttpClient.ts#L504
TypeError: FormData.append: Expected value ("BlobFromStream [Blob] {}") to be an instance of Blob.
❯ Object.webidl.errors.exception node_modules/undici/lib/web/fetch/webidl.js:27:10
❯ Object.Blob node_modules/undici/lib/web/fetch/webidl.js:395:27
❯ FormData.append node_modules/undici/lib/web/fetch/formdata.js:37:33
❯ HttpClient.#requestInternal src/HttpClient.ts:504:22
❯ HttpClient.request src/HttpClient.ts:257:23
❯ Object.request src/index.ts:27:39
❯ test/options.files.test.ts:132:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { opaque: undefined, status: -1, headers: {}, res: { status: -1, statusCode: -1, statusText: '', statusMessage: '', headers: {}, size: +0, aborted: false, rt: 0.15, keepAliveSocket: true, requestUrls: [ 'http://localhost:43217/multipart' ], timing: { queuing: +0, connected: +0, requestHeadersSent: +0, requestSent: +0, waiting: +0, contentDownload: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 }, retries: +0, socketErrorRetries: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 } }
|
test/options.files.test.ts > options.files.test.ts > should upload multi file with Array<String|Buffer|Stream> success:
src/HttpClient.ts#L499
TypeError: FormData.append: Expected value ("BlobFromStream [Blob] {}") to be an instance of Blob.
❯ Object.webidl.errors.exception node_modules/undici/lib/web/fetch/webidl.js:27:10
❯ Object.Blob node_modules/undici/lib/web/fetch/webidl.js:395:27
❯ FormData.append node_modules/undici/lib/web/fetch/formdata.js:37:33
❯ HttpClient.#requestInternal src/HttpClient.ts:499:22
❯ HttpClient.request src/HttpClient.ts:257:23
❯ Object.request src/index.ts:27:39
❯ test/options.files.test.ts:191:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { opaque: undefined, status: -1, headers: {}, res: { status: -1, statusCode: -1, statusText: '', statusMessage: '', headers: {}, size: +0, aborted: false, rt: 0.108, keepAliveSocket: true, requestUrls: [ 'http://localhost:43217/multipart' ], timing: { queuing: +0, connected: +0, requestHeadersSent: +0, requestSent: +0, waiting: +0, contentDownload: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 }, retries: +0, socketErrorRetries: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 } }
|
test/options.files.test.ts > options.files.test.ts > should upload a file with args.data success:
src/HttpClient.ts#L499
TypeError: FormData.append: Expected value ("BlobFromStream [Blob] {}") to be an instance of Blob.
❯ Object.webidl.errors.exception node_modules/undici/lib/web/fetch/webidl.js:27:10
❯ Object.Blob node_modules/undici/lib/web/fetch/webidl.js:395:27
❯ FormData.append node_modules/undici/lib/web/fetch/formdata.js:37:33
❯ HttpClient.#requestInternal src/HttpClient.ts:499:22
❯ HttpClient.request src/HttpClient.ts:257:23
❯ Object.request src/index.ts:27:39
❯ test/options.files.test.ts:221:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { opaque: undefined, status: -1, headers: {}, res: { status: -1, statusCode: -1, statusText: '', statusMessage: '', headers: {}, size: +0, aborted: false, rt: 0.156, keepAliveSocket: true, requestUrls: [ 'http://localhost:43217/multipart' ], timing: { queuing: +0, connected: +0, requestHeadersSent: +0, requestSent: +0, waiting: +0, contentDownload: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 }, retries: +0, socketErrorRetries: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 } }
|
test/options.files.test.ts > options.files.test.ts > should upload same field name between files and data:
src/HttpClient.ts#L499
TypeError: FormData.append: Expected value ("BlobFromStream [Blob] {}") to be an instance of Blob.
❯ Object.webidl.errors.exception node_modules/undici/lib/web/fetch/webidl.js:27:10
❯ Object.Blob node_modules/undici/lib/web/fetch/webidl.js:395:27
❯ FormData.append node_modules/undici/lib/web/fetch/formdata.js:37:33
❯ HttpClient.#requestInternal src/HttpClient.ts:499:22
❯ HttpClient.request src/HttpClient.ts:257:23
❯ Object.request src/index.ts:27:39
❯ test/options.files.test.ts:247:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { opaque: undefined, status: -1, headers: {}, res: { status: -1, statusCode: -1, statusText: '', statusMessage: '', headers: {}, size: +0, aborted: false, rt: 0.993, keepAliveSocket: true, requestUrls: [ 'http://localhost:43217/multipart' ], timing: { queuing: +0, connected: +0, requestHeadersSent: +0, requestSent: +0, waiting: +0, contentDownload: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 }, retries: +0, socketErrorRetries: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 } }
|
test/options.files.test.ts > options.files.test.ts > should support custom fileName when use files:object:
src/HttpClient.ts#L504
TypeError: FormData.append: Expected value ("BlobFromStream [Blob] {}") to be an instance of Blob.
❯ Object.webidl.errors.exception node_modules/undici/lib/web/fetch/webidl.js:27:10
❯ Object.Blob node_modules/undici/lib/web/fetch/webidl.js:395:27
❯ FormData.append node_modules/undici/lib/web/fetch/formdata.js:37:33
❯ HttpClient.#requestInternal src/HttpClient.ts:504:22
❯ HttpClient.request src/HttpClient.ts:257:23
❯ Object.request src/index.ts:27:39
❯ test/options.files.test.ts:274:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { opaque: undefined, status: -1, headers: {}, res: { status: -1, statusCode: -1, statusText: '', statusMessage: '', headers: {}, size: +0, aborted: false, rt: 0.142, keepAliveSocket: true, requestUrls: [ 'http://localhost:43217/multipart' ], timing: { queuing: +0, connected: +0, requestHeadersSent: +0, requestSent: +0, waiting: +0, contentDownload: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 }, retries: +0, socketErrorRetries: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 } }
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:141:9
❯ writeH1 node_modules/undici/lib/dispatcher/client-h1.js:1155:26
❯ Object.write node_modules/undici/lib/dispatcher/client-h1.js:805:14
❯ _resume node_modules/undici/lib/dispatcher/client.js:601:50
❯ resume node_modules/undici/lib/dispatcher/client.js:523:3
❯ Client.<computed> node_modules/undici/lib/dispatcher/client.js:250:31
❯ connect node_modules/undici/lib/dispatcher/client.js:508:18
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace socket info by undici:client:sendHeaders and undici:request:trailers". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:141:9
❯ Request.onComplete node_modules/undici/lib/core/request.js:278:25
❯ Parser.onMessageComplete node_modules/undici/lib/dispatcher/client-h1.js:712:13
❯ wasm_on_message_complete node_modules/undici/lib/dispatcher/client-h1.js:160:30
❯ null.<anonymous> wasm:/wasm/00032d9a:1:32718
❯ Parser.execute node_modules/undici/lib/dispatcher/client-h1.js:332:22
❯ Parser.readMore node_modules/undici/lib/dispatcher/client-h1.js:296:12
❯ Socket.onHttpSocketReadable node_modules/undici/lib/dispatcher/client-h1.js:890:18
❯ Socket.emit node:events:517:28
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace socket info by undici:client:sendHeaders and undici:request:trailers". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:141:9
❯ writeH1 node_modules/undici/lib/dispatcher/client-h1.js:1155:26
❯ Object.write node_modules/undici/lib/dispatcher/client-h1.js:805:14
❯ _resume node_modules/undici/lib/dispatcher/client.js:601:50
❯ resume node_modules/undici/lib/dispatcher/client.js:523:3
❯ Client.<computed> node_modules/undici/lib/dispatcher/client.js:250:31
❯ connect node_modules/undici/lib/dispatcher/client.js:508:18
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:141:9
❯ Request.onComplete node_modules/undici/lib/core/request.js:278:25
❯ Parser.onMessageComplete node_modules/undici/lib/dispatcher/client-h1.js:712:13
❯ wasm_on_message_complete node_modules/undici/lib/dispatcher/client-h1.js:160:30
❯ null.<anonymous> wasm:/wasm/00032d9a:1:32718
❯ Parser.execute node_modules/undici/lib/dispatcher/client-h1.js:332:22
❯ Parser.readMore node_modules/undici/lib/dispatcher/client-h1.js:296:12
❯ Socket.onHttpSocketReadable node_modules/undici/lib/dispatcher/client-h1.js:890:18
❯ Socket.emit node:events:517:28
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:141:9
❯ writeH1 node_modules/undici/lib/dispatcher/client-h1.js:1155:26
❯ Object.write node_modules/undici/lib/dispatcher/client-h1.js:805:14
❯ _resume node_modules/undici/lib/dispatcher/client.js:601:50
❯ resume node_modules/undici/lib/dispatcher/client.js:523:3
❯ Client.<computed> node_modules/undici/lib/dispatcher/client.js:250:31
❯ connect node_modules/undici/lib/dispatcher/client.js:508:18
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:141:9
❯ Request.onComplete node_modules/undici/lib/core/request.js:278:25
❯ Parser.onMessageComplete node_modules/undici/lib/dispatcher/client-h1.js:712:13
❯ wasm_on_message_complete node_modules/undici/lib/dispatcher/client-h1.js:160:30
❯ null.<anonymous> wasm:/wasm/00032d9a:1:6933
❯ Parser.execute node_modules/undici/lib/dispatcher/client-h1.js:332:22
❯ Parser.readMore node_modules/undici/lib/dispatcher/client-h1.js:296:12
❯ Socket.onHttpSocketReadable node_modules/undici/lib/dispatcher/client-h1.js:890:18
❯ Socket.emit node:events:517:28
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:141:9
❯ writeH1 node_modules/undici/lib/dispatcher/client-h1.js:1155:26
❯ Object.write node_modules/undici/lib/dispatcher/client-h1.js:805:14
❯ _resume node_modules/undici/lib/dispatcher/client.js:601:50
❯ resume node_modules/undici/lib/dispatcher/client.js:523:3
❯ Client.<computed> node_modules/undici/lib/dispatcher/client.js:250:31
❯ Client.[dispatch] node_modules/undici/lib/dispatcher/client.js:305:20
❯ Client.dispatch node_modules/undici/lib/dispatcher/dispatcher-base.js:148:29
❯ Pool.[dispatch] node_modules/undici/lib/dispatcher/pool-base.js:143:28
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:141:9
❯ Request.onComplete node_modules/undici/lib/core/request.js:278:25
❯ Parser.onMessageComplete node_modules/undici/lib/dispatcher/client-h1.js:712:13
❯ wasm_on_message_complete node_modules/undici/lib/dispatcher/client-h1.js:160:30
❯ null.<anonymous> wasm:/wasm/00032d9a:1:6933
❯ Parser.execute node_modules/undici/lib/dispatcher/client-h1.js:332:22
❯ Parser.readMore node_modules/undici/lib/dispatcher/client-h1.js:296:12
❯ Socket.onHttpSocketReadable node_modules/undici/lib/dispatcher/client-h1.js:890:18
❯ Socket.emit node:events:517:28
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:141:9
❯ writeH1 node_modules/undici/lib/dispatcher/client-h1.js:1155:26
❯ Object.write node_modules/undici/lib/dispatcher/client-h1.js:805:14
❯ _resume node_modules/undici/lib/dispatcher/client.js:601:50
❯ resume node_modules/undici/lib/dispatcher/client.js:523:3
❯ Client.<computed> node_modules/undici/lib/dispatcher/client.js:250:31
❯ Client.[dispatch] node_modules/undici/lib/dispatcher/client.js:305:20
❯ Client.dispatch node_modules/undici/lib/dispatcher/dispatcher-base.js:148:29
❯ Pool.[dispatch] node_modules/undici/lib/dispatcher/pool-base.js:143:28
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:141:9
❯ Request.onComplete node_modules/undici/lib/core/request.js:278:25
❯ Parser.onMessageComplete node_modules/undici/lib/dispatcher/client-h1.js:712:13
❯ wasm_on_message_complete node_modules/undici/lib/dispatcher/client-h1.js:160:30
❯ null.<anonymous> wasm:/wasm/00032d9a:1:6933
❯ Parser.execute node_modules/undici/lib/dispatcher/client-h1.js:332:22
❯ Parser.readMore node_modules/undici/lib/dispatcher/client-h1.js:296:12
❯ Socket.onHttpSocketReadable node_modules/undici/lib/dispatcher/client-h1.js:890:18
❯ Socket.emit node:events:517:28
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:143:9
❯ writeH1 node_modules/undici/lib/dispatcher/client-h1.js:1155:26
❯ Object.write node_modules/undici/lib/dispatcher/client-h1.js:805:14
❯ _resume node_modules/undici/lib/dispatcher/client.js:601:50
❯ resume node_modules/undici/lib/dispatcher/client.js:523:3
❯ Client.<computed> node_modules/undici/lib/dispatcher/client.js:250:31
❯ connect node_modules/undici/lib/dispatcher/client.js:508:18
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace socket info by undici:client:sendHeaders and undici:request:trailers". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:143:9
❯ Request.onComplete node_modules/undici/lib/core/request.js:278:25
❯ Parser.onMessageComplete node_modules/undici/lib/dispatcher/client-h1.js:712:13
❯ wasm_on_message_complete node_modules/undici/lib/dispatcher/client-h1.js:160:30
❯ null.<anonymous> wasm:/wasm/00032d9a:1:32718
❯ Parser.execute node_modules/undici/lib/dispatcher/client-h1.js:332:22
❯ Parser.readMore node_modules/undici/lib/dispatcher/client-h1.js:296:12
❯ Socket.onHttpSocketReadable node_modules/undici/lib/dispatcher/client-h1.js:890:18
❯ Socket.emit node:events:518:28
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace socket info by undici:client:sendHeaders and undici:request:trailers". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:143:9
❯ writeH1 node_modules/undici/lib/dispatcher/client-h1.js:1155:26
❯ Object.write node_modules/undici/lib/dispatcher/client-h1.js:805:14
❯ _resume node_modules/undici/lib/dispatcher/client.js:601:50
❯ resume node_modules/undici/lib/dispatcher/client.js:523:3
❯ Client.<computed> node_modules/undici/lib/dispatcher/client.js:250:31
❯ connect node_modules/undici/lib/dispatcher/client.js:508:18
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:143:9
❯ Request.onComplete node_modules/undici/lib/core/request.js:278:25
❯ Parser.onMessageComplete node_modules/undici/lib/dispatcher/client-h1.js:712:13
❯ wasm_on_message_complete node_modules/undici/lib/dispatcher/client-h1.js:160:30
❯ null.<anonymous> wasm:/wasm/00032d9a:1:32718
❯ Parser.execute node_modules/undici/lib/dispatcher/client-h1.js:332:22
❯ Parser.readMore node_modules/undici/lib/dispatcher/client-h1.js:296:12
❯ Socket.onHttpSocketReadable node_modules/undici/lib/dispatcher/client-h1.js:890:18
❯ Socket.emit node:events:518:28
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:143:9
❯ writeH1 node_modules/undici/lib/dispatcher/client-h1.js:1155:26
❯ Object.write node_modules/undici/lib/dispatcher/client-h1.js:805:14
❯ _resume node_modules/undici/lib/dispatcher/client.js:601:50
❯ resume node_modules/undici/lib/dispatcher/client.js:523:3
❯ Client.<computed> node_modules/undici/lib/dispatcher/client.js:250:31
❯ connect node_modules/undici/lib/dispatcher/client.js:508:18
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:143:9
❯ Request.onComplete node_modules/undici/lib/core/request.js:278:25
❯ Parser.onMessageComplete node_modules/undici/lib/dispatcher/client-h1.js:712:13
❯ wasm_on_message_complete node_modules/undici/lib/dispatcher/client-h1.js:160:30
❯ null.<anonymous> wasm:/wasm/00032d9a:1:6933
❯ Parser.execute node_modules/undici/lib/dispatcher/client-h1.js:332:22
❯ Parser.readMore node_modules/undici/lib/dispatcher/client-h1.js:296:12
❯ Socket.onHttpSocketReadable node_modules/undici/lib/dispatcher/client-h1.js:890:18
❯ Socket.emit node:events:518:28
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:143:9
❯ writeH1 node_modules/undici/lib/dispatcher/client-h1.js:1155:26
❯ Object.write node_modules/undici/lib/dispatcher/client-h1.js:805:14
❯ _resume node_modules/undici/lib/dispatcher/client.js:601:50
❯ resume node_modules/undici/lib/dispatcher/client.js:523:3
❯ Client.<computed> node_modules/undici/lib/dispatcher/client.js:250:31
❯ Client.[dispatch] node_modules/undici/lib/dispatcher/client.js:305:20
❯ Client.dispatch node_modules/undici/lib/dispatcher/dispatcher-base.js:148:29
❯ Pool.[dispatch] node_modules/undici/lib/dispatcher/pool-base.js:143:28
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:143:9
❯ Request.onComplete node_modules/undici/lib/core/request.js:278:25
❯ Parser.onMessageComplete node_modules/undici/lib/dispatcher/client-h1.js:712:13
❯ wasm_on_message_complete node_modules/undici/lib/dispatcher/client-h1.js:160:30
❯ null.<anonymous> wasm:/wasm/00032d9a:1:6933
❯ Parser.execute node_modules/undici/lib/dispatcher/client-h1.js:332:22
❯ Parser.readMore node_modules/undici/lib/dispatcher/client-h1.js:296:12
❯ Socket.onHttpSocketReadable node_modules/undici/lib/dispatcher/client-h1.js:890:18
❯ Socket.emit node:events:518:28
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:143:9
❯ writeH1 node_modules/undici/lib/dispatcher/client-h1.js:1155:26
❯ Object.write node_modules/undici/lib/dispatcher/client-h1.js:805:14
❯ _resume node_modules/undici/lib/dispatcher/client.js:601:50
❯ resume node_modules/undici/lib/dispatcher/client.js:523:3
❯ Client.<computed> node_modules/undici/lib/dispatcher/client.js:250:31
❯ Client.[dispatch] node_modules/undici/lib/dispatcher/client.js:305:20
❯ Client.dispatch node_modules/undici/lib/dispatcher/dispatcher-base.js:148:29
❯ Pool.[dispatch] node_modules/undici/lib/dispatcher/pool-base.js:143:28
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:143:9
❯ Request.onComplete node_modules/undici/lib/core/request.js:278:25
❯ Parser.onMessageComplete node_modules/undici/lib/dispatcher/client-h1.js:712:13
❯ wasm_on_message_complete node_modules/undici/lib/dispatcher/client-h1.js:160:30
❯ null.<anonymous> wasm:/wasm/00032d9a:1:6933
❯ Parser.execute node_modules/undici/lib/dispatcher/client-h1.js:332:22
❯ Parser.readMore node_modules/undici/lib/dispatcher/client-h1.js:296:12
❯ Socket.onHttpSocketReadable node_modules/undici/lib/dispatcher/client-h1.js:890:18
❯ Socket.emit node:events:518:28
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
test/options.dispatcher.test.ts > options.dispatcher.test.ts > should work with proxyAgent dispatcher:
src/utils.ts#L38
JSONResponseFormatError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON (data json format: "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>301 Moved Permanently</title></head>\r\n<body>\r\n<h1>301 Moved Permanently</h1>\r\n<p>The requested resource has been assigned a new permanent URI.</p>\r\n<hr/>Powered by Tengine</body>\r\n</html>\r\n")
❯ parseJSON src/utils.ts:38:17
❯ HttpClient.#requestInternal src/HttpClient.ts:654:20
❯ HttpClient.request src/HttpClient.ts:257:12
❯ request src/index.ts:27:10
❯ test/options.dispatcher.test.ts:43:23
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { opaque: undefined, status: 301, headers: { server: 'Tengine', date: 'Thu, 28 Nov 2024 04:04:41 GMT', 'content-type': 'text/html', 'content-length': '262', connection: 'keep-alive', location: 'https://registry.npmmirror.com/urllib/latest', via: 'ens-cache14.us18[,0]', 'timing-allow-origin': '*', eagleid: '2ff618a217327666815467661e' }, res: { status: 301, statusCode: 301, statusText: 'Moved Permanently', statusMessage: 'Moved Permanently', headers: { server: 'Tengine', date: 'Thu, 28 Nov 2024 04:04:41 GMT', 'content-type': 'text/html', 'content-length': '262', connection: 'keep-alive', location: 'https://registry.npmmirror.com/urllib/latest', via: 'ens-cache14.us18[,0]', 'timing-allow-origin': '*', eagleid: '2ff618a217327666815467661e' }, size: 262, aborted: false, rt: 142.962, keepAliveSocket: true, requestUrls: [ 'http://registry.npmmirror.com/urllib/latest' ], timing: { queuing: 0.206, connected: 73.695, requestHeadersSent: 73.724, requestSent: 73.833, waiting: 142.608, contentDownload: 142.714 }, socket: { id: 4, localAddress: '127.0.0.1', localPort: 49354, remoteAddress: '127.0.0.1', remotePort: 49351, remoteFamily: 'IPv4', bytesWritten: 270, bytesRead: 659, handledRequests: 1, handledResponses: 1, connectedTime: '2024-11-28T04:04:41.465Z' }, retries: +0, socketErrorRetries: +0 }, socket: { id: 4, localAddress: '127.0.0.1', localPort: 49354, remoteAddress: '127.0.0.1', remotePort: 49351, remoteFamily: 'IPv4', bytesWritten: 270, bytesRead: 659, handledRequests: 1, handledResponses: 1, connectedTime: '2024-11-28T04:04:41.465Z' } }
|
test/options.files.test.ts > options.files.test.ts > should upload a file with filepath success with default POST method:
src/HttpClient.ts#L499
TypeError: FormData.append: Expected value ("BlobFromStream [Blob] {}") to be an instance of Blob.
❯ Object.webidl.errors.exception node_modules/undici/lib/web/fetch/webidl.js:27:10
❯ Object.Blob node_modules/undici/lib/web/fetch/webidl.js:395:27
❯ FormData.append node_modules/undici/lib/web/fetch/formdata.js:37:33
❯ HttpClient.#requestInternal src/HttpClient.ts:499:22
❯ HttpClient.request src/HttpClient.ts:257:23
❯ Object.request src/index.ts:27:39
❯ test/options.files.test.ts:26:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { opaque: undefined, status: -1, headers: {}, res: { status: -1, statusCode: -1, statusText: '', statusMessage: '', headers: {}, size: +0, aborted: false, rt: 0.621, keepAliveSocket: true, requestUrls: [ 'http://localhost:49201/multipart' ], timing: { queuing: +0, connected: +0, requestHeadersSent: +0, requestSent: +0, waiting: +0, contentDownload: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 }, retries: +0, socketErrorRetries: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 } }
|
test/options.files.test.ts > options.files.test.ts > should upload files = [filepath] success with default POST method:
src/HttpClient.ts#L499
TypeError: FormData.append: Expected value ("BlobFromStream [Blob] {}") to be an instance of Blob.
❯ Object.webidl.errors.exception node_modules/undici/lib/web/fetch/webidl.js:27:10
❯ Object.Blob node_modules/undici/lib/web/fetch/webidl.js:395:27
❯ FormData.append node_modules/undici/lib/web/fetch/formdata.js:37:33
❯ HttpClient.#requestInternal src/HttpClient.ts:499:22
❯ HttpClient.request src/HttpClient.ts:257:23
❯ Object.request src/index.ts:27:39
❯ test/options.files.test.ts:42:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { opaque: undefined, status: -1, headers: {}, res: { status: -1, statusCode: -1, statusText: '', statusMessage: '', headers: {}, size: +0, aborted: false, rt: 0.116, keepAliveSocket: true, requestUrls: [ 'http://localhost:49201/multipart' ], timing: { queuing: +0, connected: +0, requestHeadersSent: +0, requestSent: +0, waiting: +0, contentDownload: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 }, retries: +0, socketErrorRetries: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 } }
|
test/options.files.test.ts > options.files.test.ts > should upload multi files: Array<string> success with default POST method:
src/HttpClient.ts#L499
TypeError: FormData.append: Expected value ("BlobFromStream [Blob] {}") to be an instance of Blob.
❯ Object.webidl.errors.exception node_modules/undici/lib/web/fetch/webidl.js:27:10
❯ Object.Blob node_modules/undici/lib/web/fetch/webidl.js:395:27
❯ FormData.append node_modules/undici/lib/web/fetch/formdata.js:37:33
❯ HttpClient.#requestInternal src/HttpClient.ts:499:22
❯ HttpClient.request src/HttpClient.ts:257:23
❯ Object.request src/index.ts:27:39
❯ test/options.files.test.ts:60:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { opaque: undefined, status: -1, headers: {}, res: { status: -1, statusCode: -1, statusText: '', statusMessage: '', headers: {}, size: +0, aborted: false, rt: 0.079, keepAliveSocket: true, requestUrls: [ 'http://localhost:49201/multipart' ], timing: { queuing: +0, connected: +0, requestHeadersSent: +0, requestSent: +0, waiting: +0, contentDownload: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 }, retries: +0, socketErrorRetries: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 } }
|
test/options.files.test.ts > options.files.test.ts > should upload multi files: Record<field, string> success with default POST method:
src/HttpClient.ts#L499
TypeError: FormData.append: Expected value ("BlobFromStream [Blob] {}") to be an instance of Blob.
❯ Object.webidl.errors.exception node_modules/undici/lib/web/fetch/webidl.js:27:10
❯ Object.Blob node_modules/undici/lib/web/fetch/webidl.js:395:27
❯ FormData.append node_modules/undici/lib/web/fetch/formdata.js:37:33
❯ HttpClient.#requestInternal src/HttpClient.ts:499:22
❯ HttpClient.request src/HttpClient.ts:257:23
❯ Object.request src/index.ts:27:39
❯ test/options.files.test.ts:84:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { opaque: undefined, status: -1, headers: {}, res: { status: -1, statusCode: -1, statusText: '', statusMessage: '', headers: {}, size: +0, aborted: false, rt: 0.143, keepAliveSocket: true, requestUrls: [ 'http://localhost:49201/multipart' ], timing: { queuing: +0, connected: +0, requestHeadersSent: +0, requestSent: +0, waiting: +0, contentDownload: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 }, retries: +0, socketErrorRetries: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 } }
|
test/options.files.test.ts > options.files.test.ts > should upload a file with stream success:
src/HttpClient.ts#L504
TypeError: FormData.append: Expected value ("BlobFromStream [Blob] {}") to be an instance of Blob.
❯ Object.webidl.errors.exception node_modules/undici/lib/web/fetch/webidl.js:27:10
❯ Object.Blob node_modules/undici/lib/web/fetch/webidl.js:395:27
❯ FormData.append node_modules/undici/lib/web/fetch/formdata.js:37:33
❯ HttpClient.#requestInternal src/HttpClient.ts:504:22
❯ HttpClient.request src/HttpClient.ts:257:23
❯ Object.request src/index.ts:27:39
❯ test/options.files.test.ts:132:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { opaque: undefined, status: -1, headers: {}, res: { status: -1, statusCode: -1, statusText: '', statusMessage: '', headers: {}, size: +0, aborted: false, rt: 0.117, keepAliveSocket: true, requestUrls: [ 'http://localhost:49201/multipart' ], timing: { queuing: +0, connected: +0, requestHeadersSent: +0, requestSent: +0, waiting: +0, contentDownload: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 }, retries: +0, socketErrorRetries: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 } }
|
test/options.files.test.ts > options.files.test.ts > should upload multi file with Array<String|Buffer|Stream> success:
src/HttpClient.ts#L499
TypeError: FormData.append: Expected value ("BlobFromStream [Blob] {}") to be an instance of Blob.
❯ Object.webidl.errors.exception node_modules/undici/lib/web/fetch/webidl.js:27:10
❯ Object.Blob node_modules/undici/lib/web/fetch/webidl.js:395:27
❯ FormData.append node_modules/undici/lib/web/fetch/formdata.js:37:33
❯ HttpClient.#requestInternal src/HttpClient.ts:499:22
❯ HttpClient.request src/HttpClient.ts:257:23
❯ Object.request src/index.ts:27:39
❯ test/options.files.test.ts:191:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { opaque: undefined, status: -1, headers: {}, res: { status: -1, statusCode: -1, statusText: '', statusMessage: '', headers: {}, size: +0, aborted: false, rt: 0.11, keepAliveSocket: true, requestUrls: [ 'http://localhost:49201/multipart' ], timing: { queuing: +0, connected: +0, requestHeadersSent: +0, requestSent: +0, waiting: +0, contentDownload: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 }, retries: +0, socketErrorRetries: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 } }
|
test/options.files.test.ts > options.files.test.ts > should upload a file with args.data success:
src/HttpClient.ts#L499
TypeError: FormData.append: Expected value ("BlobFromStream [Blob] {}") to be an instance of Blob.
❯ Object.webidl.errors.exception node_modules/undici/lib/web/fetch/webidl.js:27:10
❯ Object.Blob node_modules/undici/lib/web/fetch/webidl.js:395:27
❯ FormData.append node_modules/undici/lib/web/fetch/formdata.js:37:33
❯ HttpClient.#requestInternal src/HttpClient.ts:499:22
❯ HttpClient.request src/HttpClient.ts:257:23
❯ Object.request src/index.ts:27:39
❯ test/options.files.test.ts:221:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { opaque: undefined, status: -1, headers: {}, res: { status: -1, statusCode: -1, statusText: '', statusMessage: '', headers: {}, size: +0, aborted: false, rt: 0.122, keepAliveSocket: true, requestUrls: [ 'http://localhost:49201/multipart' ], timing: { queuing: +0, connected: +0, requestHeadersSent: +0, requestSent: +0, waiting: +0, contentDownload: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 }, retries: +0, socketErrorRetries: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 } }
|
test/options.files.test.ts > options.files.test.ts > should upload same field name between files and data:
src/HttpClient.ts#L499
TypeError: FormData.append: Expected value ("BlobFromStream [Blob] {}") to be an instance of Blob.
❯ Object.webidl.errors.exception node_modules/undici/lib/web/fetch/webidl.js:27:10
❯ Object.Blob node_modules/undici/lib/web/fetch/webidl.js:395:27
❯ FormData.append node_modules/undici/lib/web/fetch/formdata.js:37:33
❯ HttpClient.#requestInternal src/HttpClient.ts:499:22
❯ HttpClient.request src/HttpClient.ts:257:23
❯ Object.request src/index.ts:27:39
❯ test/options.files.test.ts:247:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { opaque: undefined, status: -1, headers: {}, res: { status: -1, statusCode: -1, statusText: '', statusMessage: '', headers: {}, size: +0, aborted: false, rt: 2.643, keepAliveSocket: true, requestUrls: [ 'http://localhost:49201/multipart' ], timing: { queuing: +0, connected: +0, requestHeadersSent: +0, requestSent: +0, waiting: +0, contentDownload: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 }, retries: +0, socketErrorRetries: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 } }
|
test/options.files.test.ts > options.files.test.ts > should support custom fileName when use files:object:
src/HttpClient.ts#L504
TypeError: FormData.append: Expected value ("BlobFromStream [Blob] {}") to be an instance of Blob.
❯ Object.webidl.errors.exception node_modules/undici/lib/web/fetch/webidl.js:27:10
❯ Object.Blob node_modules/undici/lib/web/fetch/webidl.js:395:27
❯ FormData.append node_modules/undici/lib/web/fetch/formdata.js:37:33
❯ HttpClient.#requestInternal src/HttpClient.ts:504:22
❯ HttpClient.request src/HttpClient.ts:257:23
❯ Object.request src/index.ts:27:39
❯ test/options.files.test.ts:274:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { opaque: undefined, status: -1, headers: {}, res: { status: -1, statusCode: -1, statusText: '', statusMessage: '', headers: {}, size: +0, aborted: false, rt: 0.219, keepAliveSocket: true, requestUrls: [ 'http://localhost:49201/multipart' ], timing: { queuing: +0, connected: +0, requestHeadersSent: +0, requestSent: +0, waiting: +0, contentDownload: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 }, retries: +0, socketErrorRetries: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 } }
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:143:9
❯ writeH1 node_modules/undici/lib/dispatcher/client-h1.js:1155:26
❯ Object.write node_modules/undici/lib/dispatcher/client-h1.js:805:14
❯ _resume node_modules/undici/lib/dispatcher/client.js:601:50
❯ resume node_modules/undici/lib/dispatcher/client.js:523:3
❯ Client.<computed> node_modules/undici/lib/dispatcher/client.js:250:31
❯ connect node_modules/undici/lib/dispatcher/client.js:508:18
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace socket info by undici:client:sendHeaders and undici:request:trailers". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:143:9
❯ Request.onComplete node_modules/undici/lib/core/request.js:278:25
❯ Parser.onMessageComplete node_modules/undici/lib/dispatcher/client-h1.js:712:13
❯ wasm_on_message_complete node_modules/undici/lib/dispatcher/client-h1.js:160:30
❯ null.<anonymous> wasm:/wasm/00032d9a:1:32718
❯ Parser.execute node_modules/undici/lib/dispatcher/client-h1.js:332:22
❯ Parser.readMore node_modules/undici/lib/dispatcher/client-h1.js:296:12
❯ Socket.onHttpSocketReadable node_modules/undici/lib/dispatcher/client-h1.js:890:18
❯ Socket.emit node:events:518:28
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace socket info by undici:client:sendHeaders and undici:request:trailers". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:143:9
❯ writeH1 node_modules/undici/lib/dispatcher/client-h1.js:1155:26
❯ Object.write node_modules/undici/lib/dispatcher/client-h1.js:805:14
❯ _resume node_modules/undici/lib/dispatcher/client.js:601:50
❯ resume node_modules/undici/lib/dispatcher/client.js:523:3
❯ Client.<computed> node_modules/undici/lib/dispatcher/client.js:250:31
❯ connect node_modules/undici/lib/dispatcher/client.js:508:18
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:143:9
❯ Request.onComplete node_modules/undici/lib/core/request.js:278:25
❯ Parser.onMessageComplete node_modules/undici/lib/dispatcher/client-h1.js:712:13
❯ wasm_on_message_complete node_modules/undici/lib/dispatcher/client-h1.js:160:30
❯ null.<anonymous> wasm:/wasm/00032d9a:1:32718
❯ Parser.execute node_modules/undici/lib/dispatcher/client-h1.js:332:22
❯ Parser.readMore node_modules/undici/lib/dispatcher/client-h1.js:296:12
❯ Socket.onHttpSocketReadable node_modules/undici/lib/dispatcher/client-h1.js:890:18
❯ Socket.emit node:events:518:28
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:143:9
❯ writeH1 node_modules/undici/lib/dispatcher/client-h1.js:1155:26
❯ Object.write node_modules/undici/lib/dispatcher/client-h1.js:805:14
❯ _resume node_modules/undici/lib/dispatcher/client.js:601:50
❯ resume node_modules/undici/lib/dispatcher/client.js:523:3
❯ Client.<computed> node_modules/undici/lib/dispatcher/client.js:250:31
❯ connect node_modules/undici/lib/dispatcher/client.js:508:18
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:143:9
❯ Request.onComplete node_modules/undici/lib/core/request.js:278:25
❯ Parser.onMessageComplete node_modules/undici/lib/dispatcher/client-h1.js:712:13
❯ wasm_on_message_complete node_modules/undici/lib/dispatcher/client-h1.js:160:30
❯ null.<anonymous> wasm:/wasm/00032d9a:1:6933
❯ Parser.execute node_modules/undici/lib/dispatcher/client-h1.js:332:22
❯ Parser.readMore node_modules/undici/lib/dispatcher/client-h1.js:296:12
❯ Socket.onHttpSocketReadable node_modules/undici/lib/dispatcher/client-h1.js:890:18
❯ Socket.emit node:events:518:28
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:143:9
❯ writeH1 node_modules/undici/lib/dispatcher/client-h1.js:1155:26
❯ Object.write node_modules/undici/lib/dispatcher/client-h1.js:805:14
❯ _resume node_modules/undici/lib/dispatcher/client.js:601:50
❯ resume node_modules/undici/lib/dispatcher/client.js:523:3
❯ Client.<computed> node_modules/undici/lib/dispatcher/client.js:250:31
❯ Client.[dispatch] node_modules/undici/lib/dispatcher/client.js:305:20
❯ Client.dispatch node_modules/undici/lib/dispatcher/dispatcher-base.js:148:29
❯ Pool.[dispatch] node_modules/undici/lib/dispatcher/pool-base.js:143:28
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:143:9
❯ Request.onComplete node_modules/undici/lib/core/request.js:278:25
❯ Parser.onMessageComplete node_modules/undici/lib/dispatcher/client-h1.js:712:13
❯ wasm_on_message_complete node_modules/undici/lib/dispatcher/client-h1.js:160:30
❯ null.<anonymous> wasm:/wasm/00032d9a:1:6933
❯ Parser.execute node_modules/undici/lib/dispatcher/client-h1.js:332:22
❯ Parser.readMore node_modules/undici/lib/dispatcher/client-h1.js:296:12
❯ Socket.onHttpSocketReadable node_modules/undici/lib/dispatcher/client-h1.js:890:18
❯ Socket.emit node:events:518:28
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:143:9
❯ writeH1 node_modules/undici/lib/dispatcher/client-h1.js:1155:26
❯ Object.write node_modules/undici/lib/dispatcher/client-h1.js:805:14
❯ _resume node_modules/undici/lib/dispatcher/client.js:601:50
❯ resume node_modules/undici/lib/dispatcher/client.js:523:3
❯ Client.<computed> node_modules/undici/lib/dispatcher/client.js:250:31
❯ Client.[dispatch] node_modules/undici/lib/dispatcher/client.js:305:20
❯ Client.dispatch node_modules/undici/lib/dispatcher/dispatcher-base.js:148:29
❯ Pool.[dispatch] node_modules/undici/lib/dispatcher/pool-base.js:143:28
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:143:9
❯ Request.onComplete node_modules/undici/lib/core/request.js:278:25
❯ Parser.onMessageComplete node_modules/undici/lib/dispatcher/client-h1.js:712:13
❯ wasm_on_message_complete node_modules/undici/lib/dispatcher/client-h1.js:160:30
❯ null.<anonymous> wasm:/wasm/00032d9a:1:6933
❯ Parser.execute node_modules/undici/lib/dispatcher/client-h1.js:332:22
❯ Parser.readMore node_modules/undici/lib/dispatcher/client-h1.js:296:12
❯ Socket.onHttpSocketReadable node_modules/undici/lib/dispatcher/client-h1.js:890:18
❯ Socket.emit node:events:518:28
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:141:9
❯ writeH1 node_modules/undici/lib/dispatcher/client-h1.js:1155:26
❯ Object.write node_modules/undici/lib/dispatcher/client-h1.js:805:14
❯ _resume node_modules/undici/lib/dispatcher/client.js:601:50
❯ resume node_modules/undici/lib/dispatcher/client.js:523:3
❯ Client.<computed> node_modules/undici/lib/dispatcher/client.js:250:31
❯ connect node_modules/undici/lib/dispatcher/client.js:508:18
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace socket info by undici:client:sendHeaders and undici:request:trailers". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:141:9
❯ Request.onComplete node_modules/undici/lib/core/request.js:278:25
❯ Parser.onMessageComplete node_modules/undici/lib/dispatcher/client-h1.js:712:13
❯ wasm_on_message_complete node_modules/undici/lib/dispatcher/client-h1.js:160:30
❯ null.<anonymous> wasm:/wasm/00032d9a:1:32718
❯ Parser.execute node_modules/undici/lib/dispatcher/client-h1.js:332:22
❯ Parser.readMore node_modules/undici/lib/dispatcher/client-h1.js:296:12
❯ Socket.onHttpSocketReadable node_modules/undici/lib/dispatcher/client-h1.js:890:18
❯ Socket.emit node:events:517:28
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace socket info by undici:client:sendHeaders and undici:request:trailers". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:141:9
❯ writeH1 node_modules/undici/lib/dispatcher/client-h1.js:1155:26
❯ Object.write node_modules/undici/lib/dispatcher/client-h1.js:805:14
❯ _resume node_modules/undici/lib/dispatcher/client.js:601:50
❯ resume node_modules/undici/lib/dispatcher/client.js:523:3
❯ Client.<computed> node_modules/undici/lib/dispatcher/client.js:250:31
❯ connect node_modules/undici/lib/dispatcher/client.js:508:18
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:141:9
❯ Request.onComplete node_modules/undici/lib/core/request.js:278:25
❯ Parser.onMessageComplete node_modules/undici/lib/dispatcher/client-h1.js:712:13
❯ wasm_on_message_complete node_modules/undici/lib/dispatcher/client-h1.js:160:30
❯ null.<anonymous> wasm:/wasm/00032d9a:1:32718
❯ Parser.execute node_modules/undici/lib/dispatcher/client-h1.js:332:22
❯ Parser.readMore node_modules/undici/lib/dispatcher/client-h1.js:296:12
❯ Socket.onHttpSocketReadable node_modules/undici/lib/dispatcher/client-h1.js:890:18
❯ Socket.emit node:events:517:28
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:141:9
❯ writeH1 node_modules/undici/lib/dispatcher/client-h1.js:1155:26
❯ Object.write node_modules/undici/lib/dispatcher/client-h1.js:805:14
❯ _resume node_modules/undici/lib/dispatcher/client.js:601:50
❯ resume node_modules/undici/lib/dispatcher/client.js:523:3
❯ Client.<computed> node_modules/undici/lib/dispatcher/client.js:250:31
❯ connect node_modules/undici/lib/dispatcher/client.js:508:18
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:141:9
❯ Request.onComplete node_modules/undici/lib/core/request.js:278:25
❯ Parser.onMessageComplete node_modules/undici/lib/dispatcher/client-h1.js:712:13
❯ wasm_on_message_complete node_modules/undici/lib/dispatcher/client-h1.js:160:30
❯ null.<anonymous> wasm:/wasm/00032d9a:1:6933
❯ Parser.execute node_modules/undici/lib/dispatcher/client-h1.js:332:22
❯ Parser.readMore node_modules/undici/lib/dispatcher/client-h1.js:296:12
❯ Socket.onHttpSocketReadable node_modules/undici/lib/dispatcher/client-h1.js:890:18
❯ Socket.emit node:events:517:28
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:141:9
❯ writeH1 node_modules/undici/lib/dispatcher/client-h1.js:1155:26
❯ Object.write node_modules/undici/lib/dispatcher/client-h1.js:805:14
❯ _resume node_modules/undici/lib/dispatcher/client.js:601:50
❯ resume node_modules/undici/lib/dispatcher/client.js:523:3
❯ Client.<computed> node_modules/undici/lib/dispatcher/client.js:250:31
❯ Client.[dispatch] node_modules/undici/lib/dispatcher/client.js:305:20
❯ Client.dispatch node_modules/undici/lib/dispatcher/dispatcher-base.js:148:29
❯ Pool.[dispatch] node_modules/undici/lib/dispatcher/pool-base.js:143:28
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:141:9
❯ Request.onComplete node_modules/undici/lib/core/request.js:278:25
❯ Parser.onMessageComplete node_modules/undici/lib/dispatcher/client-h1.js:712:13
❯ wasm_on_message_complete node_modules/undici/lib/dispatcher/client-h1.js:160:30
❯ null.<anonymous> wasm:/wasm/00032d9a:1:6933
❯ Parser.execute node_modules/undici/lib/dispatcher/client-h1.js:332:22
❯ Parser.readMore node_modules/undici/lib/dispatcher/client-h1.js:296:12
❯ Socket.onHttpSocketReadable node_modules/undici/lib/dispatcher/client-h1.js:890:18
❯ Socket.emit node:events:517:28
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:141:9
❯ writeH1 node_modules/undici/lib/dispatcher/client-h1.js:1155:26
❯ Object.write node_modules/undici/lib/dispatcher/client-h1.js:805:14
❯ _resume node_modules/undici/lib/dispatcher/client.js:601:50
❯ resume node_modules/undici/lib/dispatcher/client.js:523:3
❯ Client.<computed> node_modules/undici/lib/dispatcher/client.js:250:31
❯ Client.[dispatch] node_modules/undici/lib/dispatcher/client.js:305:20
❯ Client.dispatch node_modules/undici/lib/dispatcher/dispatcher-base.js:148:29
❯ Pool.[dispatch] node_modules/undici/lib/dispatcher/pool-base.js:143:28
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:141:9
❯ Request.onComplete node_modules/undici/lib/core/request.js:278:25
❯ Parser.onMessageComplete node_modules/undici/lib/dispatcher/client-h1.js:712:13
❯ wasm_on_message_complete node_modules/undici/lib/dispatcher/client-h1.js:160:30
❯ null.<anonymous> wasm:/wasm/00032d9a:1:6933
❯ Parser.execute node_modules/undici/lib/dispatcher/client-h1.js:332:22
❯ Parser.readMore node_modules/undici/lib/dispatcher/client-h1.js:296:12
❯ Socket.onHttpSocketReadable node_modules/undici/lib/dispatcher/client-h1.js:890:18
❯ Socket.emit node:events:517:28
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:141:9
❯ writeH1 node_modules/undici/lib/dispatcher/client-h1.js:1155:26
❯ Object.write node_modules/undici/lib/dispatcher/client-h1.js:805:14
❯ _resume node_modules/undici/lib/dispatcher/client.js:601:50
❯ resume node_modules/undici/lib/dispatcher/client.js:523:3
❯ Client.<computed> node_modules/undici/lib/dispatcher/client.js:250:31
❯ connect node_modules/undici/lib/dispatcher/client.js:508:18
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace socket info by undici:client:sendHeaders and undici:request:trailers". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:141:9
❯ Request.onComplete node_modules/undici/lib/core/request.js:278:25
❯ Parser.onMessageComplete node_modules/undici/lib/dispatcher/client-h1.js:712:13
❯ wasm_on_message_complete node_modules/undici/lib/dispatcher/client-h1.js:160:30
❯ null.<anonymous> wasm:/wasm/00032d9a:1:32718
❯ Parser.execute node_modules/undici/lib/dispatcher/client-h1.js:332:22
❯ Parser.readMore node_modules/undici/lib/dispatcher/client-h1.js:296:12
❯ Socket.onHttpSocketReadable node_modules/undici/lib/dispatcher/client-h1.js:890:18
❯ Socket.emit node:events:517:28
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace socket info by undici:client:sendHeaders and undici:request:trailers". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:141:9
❯ writeH1 node_modules/undici/lib/dispatcher/client-h1.js:1155:26
❯ Object.write node_modules/undici/lib/dispatcher/client-h1.js:805:14
❯ _resume node_modules/undici/lib/dispatcher/client.js:601:50
❯ resume node_modules/undici/lib/dispatcher/client.js:523:3
❯ Client.<computed> node_modules/undici/lib/dispatcher/client.js:250:31
❯ connect node_modules/undici/lib/dispatcher/client.js:508:18
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:141:9
❯ Request.onComplete node_modules/undici/lib/core/request.js:278:25
❯ Parser.onMessageComplete node_modules/undici/lib/dispatcher/client-h1.js:712:13
❯ wasm_on_message_complete node_modules/undici/lib/dispatcher/client-h1.js:160:30
❯ null.<anonymous> wasm:/wasm/00032d9a:1:32718
❯ Parser.execute node_modules/undici/lib/dispatcher/client-h1.js:332:22
❯ Parser.readMore node_modules/undici/lib/dispatcher/client-h1.js:296:12
❯ Socket.onHttpSocketReadable node_modules/undici/lib/dispatcher/client-h1.js:890:18
❯ Socket.emit node:events:517:28
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:141:9
❯ writeH1 node_modules/undici/lib/dispatcher/client-h1.js:1155:26
❯ Object.write node_modules/undici/lib/dispatcher/client-h1.js:805:14
❯ _resume node_modules/undici/lib/dispatcher/client.js:601:50
❯ resume node_modules/undici/lib/dispatcher/client.js:523:3
❯ Client.<computed> node_modules/undici/lib/dispatcher/client.js:250:31
❯ connect node_modules/undici/lib/dispatcher/client.js:508:18
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:141:9
❯ Request.onComplete node_modules/undici/lib/core/request.js:278:25
❯ Parser.onMessageComplete node_modules/undici/lib/dispatcher/client-h1.js:712:13
❯ wasm_on_message_complete node_modules/undici/lib/dispatcher/client-h1.js:160:30
❯ null.<anonymous> wasm:/wasm/00032d9a:1:6933
❯ Parser.execute node_modules/undici/lib/dispatcher/client-h1.js:332:22
❯ Parser.readMore node_modules/undici/lib/dispatcher/client-h1.js:296:12
❯ Socket.onHttpSocketReadable node_modules/undici/lib/dispatcher/client-h1.js:890:18
❯ Socket.emit node:events:517:28
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:141:9
❯ writeH1 node_modules/undici/lib/dispatcher/client-h1.js:1155:26
❯ Object.write node_modules/undici/lib/dispatcher/client-h1.js:805:14
❯ _resume node_modules/undici/lib/dispatcher/client.js:601:50
❯ resume node_modules/undici/lib/dispatcher/client.js:523:3
❯ Client.<computed> node_modules/undici/lib/dispatcher/client.js:250:31
❯ Client.[dispatch] node_modules/undici/lib/dispatcher/client.js:305:20
❯ Client.dispatch node_modules/undici/lib/dispatcher/dispatcher-base.js:148:29
❯ Pool.[dispatch] node_modules/undici/lib/dispatcher/pool-base.js:143:28
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:141:9
❯ Request.onComplete node_modules/undici/lib/core/request.js:278:25
❯ Parser.onMessageComplete node_modules/undici/lib/dispatcher/client-h1.js:712:13
❯ wasm_on_message_complete node_modules/undici/lib/dispatcher/client-h1.js:160:30
❯ null.<anonymous> wasm:/wasm/00032d9a:1:6933
❯ Parser.execute node_modules/undici/lib/dispatcher/client-h1.js:332:22
❯ Parser.readMore node_modules/undici/lib/dispatcher/client-h1.js:296:12
❯ Socket.onHttpSocketReadable node_modules/undici/lib/dispatcher/client-h1.js:890:18
❯ Socket.emit node:events:517:28
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:141:9
❯ writeH1 node_modules/undici/lib/dispatcher/client-h1.js:1155:26
❯ Object.write node_modules/undici/lib/dispatcher/client-h1.js:805:14
❯ _resume node_modules/undici/lib/dispatcher/client.js:601:50
❯ resume node_modules/undici/lib/dispatcher/client.js:523:3
❯ Client.<computed> node_modules/undici/lib/dispatcher/client.js:250:31
❯ Client.[dispatch] node_modules/undici/lib/dispatcher/client.js:305:20
❯ Client.dispatch node_modules/undici/lib/dispatcher/dispatcher-base.js:148:29
❯ Pool.[dispatch] node_modules/undici/lib/dispatcher/pool-base.js:143:28
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:141:9
❯ Request.onComplete node_modules/undici/lib/core/request.js:278:25
❯ Parser.onMessageComplete node_modules/undici/lib/dispatcher/client-h1.js:712:13
❯ wasm_on_message_complete node_modules/undici/lib/dispatcher/client-h1.js:160:30
❯ null.<anonymous> wasm:/wasm/00032d9a:1:6933
❯ Parser.execute node_modules/undici/lib/dispatcher/client-h1.js:332:22
❯ Parser.readMore node_modules/undici/lib/dispatcher/client-h1.js:296:12
❯ Socket.onHttpSocketReadable node_modules/undici/lib/dispatcher/client-h1.js:890:18
❯ Socket.emit node:events:517:28
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
test/options.dispatcher.test.ts > options.dispatcher.test.ts > should work with proxyAgent dispatcher:
src/utils.ts#L38
JSONResponseFormatError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON (data json format: "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>301 Moved Permanently</title></head>\r\n<body>\r\n<h1>301 Moved Permanently</h1>\r\n<p>The requested resource has been assigned a new permanent URI.</p>\r\n<hr/>Powered by Tengine</body>\r\n</html>\r\n")
❯ parseJSON src/utils.ts:38:17
❯ HttpClient.#requestInternal src/HttpClient.ts:654:20
❯ HttpClient.request src/HttpClient.ts:257:12
❯ request src/index.ts:27:10
❯ test/options.dispatcher.test.ts:43:23
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { opaque: undefined, status: 301, headers: { server: 'Tengine', date: 'Thu, 28 Nov 2024 04:04:45 GMT', 'content-type': 'text/html', 'content-length': '262', connection: 'keep-alive', location: 'https://registry.npmmirror.com/urllib/latest', via: 'ens-cache3.us18[,0]', 'timing-allow-origin': '*', eagleid: '2ff6189717327666855336488e' }, res: { status: 301, statusCode: 301, statusText: 'Moved Permanently', statusMessage: 'Moved Permanently', headers: { server: 'Tengine', date: 'Thu, 28 Nov 2024 04:04:45 GMT', 'content-type': 'text/html', 'content-length': '262', connection: 'keep-alive', location: 'https://registry.npmmirror.com/urllib/latest', via: 'ens-cache3.us18[,0]', 'timing-allow-origin': '*', eagleid: '2ff6189717327666855336488e' }, size: 262, aborted: false, rt: 160.807, keepAliveSocket: true, requestUrls: [ 'http://registry.npmmirror.com/urllib/latest' ], timing: { queuing: 0.177, connected: 86.765, requestHeadersSent: 86.799, requestSent: 86.827, waiting: 160.302, contentDownload: 160.462 }, socket: { id: 4, localAddress: '127.0.0.1', localPort: 49350, remoteAddress: '127.0.0.1', remotePort: 49347, remoteFamily: 'IPv4', bytesWritten: 271, bytesRead: 658, handledRequests: 1, handledResponses: 1, connectedTime: '2024-11-28T04:04:45.414Z' }, retries: +0, socketErrorRetries: +0 }, socket: { id: 4, localAddress: '127.0.0.1', localPort: 49350, remoteAddress: '127.0.0.1', remotePort: 49347, remoteFamily: 'IPv4', bytesWritten: 271, bytesRead: 658, handledRequests: 1, handledResponses: 1, connectedTime: '2024-11-28T04:04:45.414Z' } }
|
test/options.files.test.ts > options.files.test.ts > should upload a file with filepath success with default POST method:
src/HttpClient.ts#L499
TypeError: FormData.append: Expected value ("BlobFromStream [Blob] {}") to be an instance of Blob.
❯ Object.webidl.errors.exception node_modules/undici/lib/web/fetch/webidl.js:27:10
❯ Object.Blob node_modules/undici/lib/web/fetch/webidl.js:395:27
❯ FormData.append node_modules/undici/lib/web/fetch/formdata.js:37:33
❯ HttpClient.#requestInternal src/HttpClient.ts:499:22
❯ HttpClient.request src/HttpClient.ts:257:23
❯ Object.request src/index.ts:27:39
❯ test/options.files.test.ts:26:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { opaque: undefined, status: -1, headers: {}, res: { status: -1, statusCode: -1, statusText: '', statusMessage: '', headers: {}, size: +0, aborted: false, rt: 0.616, keepAliveSocket: true, requestUrls: [ 'http://localhost:49197/multipart' ], timing: { queuing: +0, connected: +0, requestHeadersSent: +0, requestSent: +0, waiting: +0, contentDownload: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 }, retries: +0, socketErrorRetries: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 } }
|
test/options.files.test.ts > options.files.test.ts > should upload files = [filepath] success with default POST method:
src/HttpClient.ts#L499
TypeError: FormData.append: Expected value ("BlobFromStream [Blob] {}") to be an instance of Blob.
❯ Object.webidl.errors.exception node_modules/undici/lib/web/fetch/webidl.js:27:10
❯ Object.Blob node_modules/undici/lib/web/fetch/webidl.js:395:27
❯ FormData.append node_modules/undici/lib/web/fetch/formdata.js:37:33
❯ HttpClient.#requestInternal src/HttpClient.ts:499:22
❯ HttpClient.request src/HttpClient.ts:257:23
❯ Object.request src/index.ts:27:39
❯ test/options.files.test.ts:42:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { opaque: undefined, status: -1, headers: {}, res: { status: -1, statusCode: -1, statusText: '', statusMessage: '', headers: {}, size: +0, aborted: false, rt: 0.166, keepAliveSocket: true, requestUrls: [ 'http://localhost:49197/multipart' ], timing: { queuing: +0, connected: +0, requestHeadersSent: +0, requestSent: +0, waiting: +0, contentDownload: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 }, retries: +0, socketErrorRetries: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 } }
|
test/options.files.test.ts > options.files.test.ts > should upload multi files: Array<string> success with default POST method:
src/HttpClient.ts#L499
TypeError: FormData.append: Expected value ("BlobFromStream [Blob] {}") to be an instance of Blob.
❯ Object.webidl.errors.exception node_modules/undici/lib/web/fetch/webidl.js:27:10
❯ Object.Blob node_modules/undici/lib/web/fetch/webidl.js:395:27
❯ FormData.append node_modules/undici/lib/web/fetch/formdata.js:37:33
❯ HttpClient.#requestInternal src/HttpClient.ts:499:22
❯ HttpClient.request src/HttpClient.ts:257:23
❯ Object.request src/index.ts:27:39
❯ test/options.files.test.ts:60:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { opaque: undefined, status: -1, headers: {}, res: { status: -1, statusCode: -1, statusText: '', statusMessage: '', headers: {}, size: +0, aborted: false, rt: 0.071, keepAliveSocket: true, requestUrls: [ 'http://localhost:49197/multipart' ], timing: { queuing: +0, connected: +0, requestHeadersSent: +0, requestSent: +0, waiting: +0, contentDownload: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 }, retries: +0, socketErrorRetries: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 } }
|
test/options.files.test.ts > options.files.test.ts > should upload multi files: Record<field, string> success with default POST method:
src/HttpClient.ts#L499
TypeError: FormData.append: Expected value ("BlobFromStream [Blob] {}") to be an instance of Blob.
❯ Object.webidl.errors.exception node_modules/undici/lib/web/fetch/webidl.js:27:10
❯ Object.Blob node_modules/undici/lib/web/fetch/webidl.js:395:27
❯ FormData.append node_modules/undici/lib/web/fetch/formdata.js:37:33
❯ HttpClient.#requestInternal src/HttpClient.ts:499:22
❯ HttpClient.request src/HttpClient.ts:257:23
❯ Object.request src/index.ts:27:39
❯ test/options.files.test.ts:84:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { opaque: undefined, status: -1, headers: {}, res: { status: -1, statusCode: -1, statusText: '', statusMessage: '', headers: {}, size: +0, aborted: false, rt: 0.077, keepAliveSocket: true, requestUrls: [ 'http://localhost:49197/multipart' ], timing: { queuing: +0, connected: +0, requestHeadersSent: +0, requestSent: +0, waiting: +0, contentDownload: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 }, retries: +0, socketErrorRetries: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 } }
|
test/options.files.test.ts > options.files.test.ts > should upload a file with stream success:
src/HttpClient.ts#L504
TypeError: FormData.append: Expected value ("BlobFromStream [Blob] {}") to be an instance of Blob.
❯ Object.webidl.errors.exception node_modules/undici/lib/web/fetch/webidl.js:27:10
❯ Object.Blob node_modules/undici/lib/web/fetch/webidl.js:395:27
❯ FormData.append node_modules/undici/lib/web/fetch/formdata.js:37:33
❯ HttpClient.#requestInternal src/HttpClient.ts:504:22
❯ HttpClient.request src/HttpClient.ts:257:23
❯ Object.request src/index.ts:27:39
❯ test/options.files.test.ts:132:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { opaque: undefined, status: -1, headers: {}, res: { status: -1, statusCode: -1, statusText: '', statusMessage: '', headers: {}, size: +0, aborted: false, rt: 0.125, keepAliveSocket: true, requestUrls: [ 'http://localhost:49197/multipart' ], timing: { queuing: +0, connected: +0, requestHeadersSent: +0, requestSent: +0, waiting: +0, contentDownload: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 }, retries: +0, socketErrorRetries: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 } }
|
test/options.files.test.ts > options.files.test.ts > should upload multi file with Array<String|Buffer|Stream> success:
src/HttpClient.ts#L499
TypeError: FormData.append: Expected value ("BlobFromStream [Blob] {}") to be an instance of Blob.
❯ Object.webidl.errors.exception node_modules/undici/lib/web/fetch/webidl.js:27:10
❯ Object.Blob node_modules/undici/lib/web/fetch/webidl.js:395:27
❯ FormData.append node_modules/undici/lib/web/fetch/formdata.js:37:33
❯ HttpClient.#requestInternal src/HttpClient.ts:499:22
❯ HttpClient.request src/HttpClient.ts:257:23
❯ Object.request src/index.ts:27:39
❯ test/options.files.test.ts:191:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { opaque: undefined, status: -1, headers: {}, res: { status: -1, statusCode: -1, statusText: '', statusMessage: '', headers: {}, size: +0, aborted: false, rt: 0.065, keepAliveSocket: true, requestUrls: [ 'http://localhost:49197/multipart' ], timing: { queuing: +0, connected: +0, requestHeadersSent: +0, requestSent: +0, waiting: +0, contentDownload: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 }, retries: +0, socketErrorRetries: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 } }
|
test/options.files.test.ts > options.files.test.ts > should upload a file with args.data success:
src/HttpClient.ts#L499
TypeError: FormData.append: Expected value ("BlobFromStream [Blob] {}") to be an instance of Blob.
❯ Object.webidl.errors.exception node_modules/undici/lib/web/fetch/webidl.js:27:10
❯ Object.Blob node_modules/undici/lib/web/fetch/webidl.js:395:27
❯ FormData.append node_modules/undici/lib/web/fetch/formdata.js:37:33
❯ HttpClient.#requestInternal src/HttpClient.ts:499:22
❯ HttpClient.request src/HttpClient.ts:257:23
❯ Object.request src/index.ts:27:39
❯ test/options.files.test.ts:221:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { opaque: undefined, status: -1, headers: {}, res: { status: -1, statusCode: -1, statusText: '', statusMessage: '', headers: {}, size: +0, aborted: false, rt: 0.187, keepAliveSocket: true, requestUrls: [ 'http://localhost:49197/multipart' ], timing: { queuing: +0, connected: +0, requestHeadersSent: +0, requestSent: +0, waiting: +0, contentDownload: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 }, retries: +0, socketErrorRetries: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 } }
|
test/options.files.test.ts > options.files.test.ts > should upload same field name between files and data:
src/HttpClient.ts#L499
TypeError: FormData.append: Expected value ("BlobFromStream [Blob] {}") to be an instance of Blob.
❯ Object.webidl.errors.exception node_modules/undici/lib/web/fetch/webidl.js:27:10
❯ Object.Blob node_modules/undici/lib/web/fetch/webidl.js:395:27
❯ FormData.append node_modules/undici/lib/web/fetch/formdata.js:37:33
❯ HttpClient.#requestInternal src/HttpClient.ts:499:22
❯ HttpClient.request src/HttpClient.ts:257:23
❯ Object.request src/index.ts:27:39
❯ test/options.files.test.ts:247:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { opaque: undefined, status: -1, headers: {}, res: { status: -1, statusCode: -1, statusText: '', statusMessage: '', headers: {}, size: +0, aborted: false, rt: 0.125, keepAliveSocket: true, requestUrls: [ 'http://localhost:49197/multipart' ], timing: { queuing: +0, connected: +0, requestHeadersSent: +0, requestSent: +0, waiting: +0, contentDownload: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 }, retries: +0, socketErrorRetries: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 } }
|
test/options.files.test.ts > options.files.test.ts > should support custom fileName when use files:object:
src/HttpClient.ts#L504
TypeError: FormData.append: Expected value ("BlobFromStream [Blob] {}") to be an instance of Blob.
❯ Object.webidl.errors.exception node_modules/undici/lib/web/fetch/webidl.js:27:10
❯ Object.Blob node_modules/undici/lib/web/fetch/webidl.js:395:27
❯ FormData.append node_modules/undici/lib/web/fetch/formdata.js:37:33
❯ HttpClient.#requestInternal src/HttpClient.ts:504:22
❯ HttpClient.request src/HttpClient.ts:257:23
❯ Object.request src/index.ts:27:39
❯ test/options.files.test.ts:274:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { opaque: undefined, status: -1, headers: {}, res: { status: -1, statusCode: -1, statusText: '', statusMessage: '', headers: {}, size: +0, aborted: false, rt: 0.085, keepAliveSocket: true, requestUrls: [ 'http://localhost:49197/multipart' ], timing: { queuing: +0, connected: +0, requestHeadersSent: +0, requestSent: +0, waiting: +0, contentDownload: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 }, retries: +0, socketErrorRetries: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 } }
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:141:9
❯ writeH1 node_modules/undici/lib/dispatcher/client-h1.js:1155:26
❯ Object.write node_modules/undici/lib/dispatcher/client-h1.js:805:14
❯ _resume node_modules/undici/lib/dispatcher/client.js:601:50
❯ resume node_modules/undici/lib/dispatcher/client.js:523:3
❯ Client.<computed> node_modules/undici/lib/dispatcher/client.js:250:31
❯ connect node_modules/undici/lib/dispatcher/client.js:508:18
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace socket info by undici:client:sendHeaders and undici:request:trailers". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:141:9
❯ Request.onComplete node_modules/undici/lib/core/request.js:278:25
❯ Parser.onMessageComplete node_modules/undici/lib/dispatcher/client-h1.js:712:13
❯ wasm_on_message_complete node_modules/undici/lib/dispatcher/client-h1.js:160:30
❯ null.<anonymous> wasm:/wasm/00032d9a:1:32718
❯ Parser.execute node_modules/undici/lib/dispatcher/client-h1.js:332:22
❯ Parser.readMore node_modules/undici/lib/dispatcher/client-h1.js:296:12
❯ Socket.onHttpSocketReadable node_modules/undici/lib/dispatcher/client-h1.js:890:18
❯ Socket.emit node:events:517:28
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace socket info by undici:client:sendHeaders and undici:request:trailers". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:141:9
❯ writeH1 node_modules/undici/lib/dispatcher/client-h1.js:1155:26
❯ Object.write node_modules/undici/lib/dispatcher/client-h1.js:805:14
❯ _resume node_modules/undici/lib/dispatcher/client.js:601:50
❯ resume node_modules/undici/lib/dispatcher/client.js:523:3
❯ Client.<computed> node_modules/undici/lib/dispatcher/client.js:250:31
❯ connect node_modules/undici/lib/dispatcher/client.js:508:18
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:141:9
❯ Request.onComplete node_modules/undici/lib/core/request.js:278:25
❯ Parser.onMessageComplete node_modules/undici/lib/dispatcher/client-h1.js:712:13
❯ wasm_on_message_complete node_modules/undici/lib/dispatcher/client-h1.js:160:30
❯ null.<anonymous> wasm:/wasm/00032d9a:1:32718
❯ Parser.execute node_modules/undici/lib/dispatcher/client-h1.js:332:22
❯ Parser.readMore node_modules/undici/lib/dispatcher/client-h1.js:296:12
❯ Socket.onHttpSocketReadable node_modules/undici/lib/dispatcher/client-h1.js:890:18
❯ Socket.emit node:events:517:28
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:141:9
❯ writeH1 node_modules/undici/lib/dispatcher/client-h1.js:1155:26
❯ Object.write node_modules/undici/lib/dispatcher/client-h1.js:805:14
❯ _resume node_modules/undici/lib/dispatcher/client.js:601:50
❯ resume node_modules/undici/lib/dispatcher/client.js:523:3
❯ Client.<computed> node_modules/undici/lib/dispatcher/client.js:250:31
❯ connect node_modules/undici/lib/dispatcher/client.js:508:18
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:141:9
❯ Request.onComplete node_modules/undici/lib/core/request.js:278:25
❯ Parser.onMessageComplete node_modules/undici/lib/dispatcher/client-h1.js:712:13
❯ wasm_on_message_complete node_modules/undici/lib/dispatcher/client-h1.js:160:30
❯ null.<anonymous> wasm:/wasm/00032d9a:1:6933
❯ Parser.execute node_modules/undici/lib/dispatcher/client-h1.js:332:22
❯ Parser.readMore node_modules/undici/lib/dispatcher/client-h1.js:296:12
❯ Socket.onHttpSocketReadable node_modules/undici/lib/dispatcher/client-h1.js:890:18
❯ Socket.emit node:events:517:28
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:141:9
❯ writeH1 node_modules/undici/lib/dispatcher/client-h1.js:1155:26
❯ Object.write node_modules/undici/lib/dispatcher/client-h1.js:805:14
❯ _resume node_modules/undici/lib/dispatcher/client.js:601:50
❯ resume node_modules/undici/lib/dispatcher/client.js:523:3
❯ Client.<computed> node_modules/undici/lib/dispatcher/client.js:250:31
❯ Client.[dispatch] node_modules/undici/lib/dispatcher/client.js:305:20
❯ Client.dispatch node_modules/undici/lib/dispatcher/dispatcher-base.js:148:29
❯ Pool.[dispatch] node_modules/undici/lib/dispatcher/pool-base.js:143:28
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:141:9
❯ Request.onComplete node_modules/undici/lib/core/request.js:278:25
❯ Parser.onMessageComplete node_modules/undici/lib/dispatcher/client-h1.js:712:13
❯ wasm_on_message_complete node_modules/undici/lib/dispatcher/client-h1.js:160:30
❯ null.<anonymous> wasm:/wasm/00032d9a:1:6933
❯ Parser.execute node_modules/undici/lib/dispatcher/client-h1.js:332:22
❯ Parser.readMore node_modules/undici/lib/dispatcher/client-h1.js:296:12
❯ Socket.onHttpSocketReadable node_modules/undici/lib/dispatcher/client-h1.js:890:18
❯ Socket.emit node:events:517:28
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:141:9
❯ writeH1 node_modules/undici/lib/dispatcher/client-h1.js:1155:26
❯ Object.write node_modules/undici/lib/dispatcher/client-h1.js:805:14
❯ _resume node_modules/undici/lib/dispatcher/client.js:601:50
❯ resume node_modules/undici/lib/dispatcher/client.js:523:3
❯ Client.<computed> node_modules/undici/lib/dispatcher/client.js:250:31
❯ Client.[dispatch] node_modules/undici/lib/dispatcher/client.js:305:20
❯ Client.dispatch node_modules/undici/lib/dispatcher/dispatcher-base.js:148:29
❯ Pool.[dispatch] node_modules/undici/lib/dispatcher/pool-base.js:143:28
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:141:9
❯ Request.onComplete node_modules/undici/lib/core/request.js:278:25
❯ Parser.onMessageComplete node_modules/undici/lib/dispatcher/client-h1.js:712:13
❯ wasm_on_message_complete node_modules/undici/lib/dispatcher/client-h1.js:160:30
❯ null.<anonymous> wasm:/wasm/00032d9a:1:6933
❯ Parser.execute node_modules/undici/lib/dispatcher/client-h1.js:332:22
❯ Parser.readMore node_modules/undici/lib/dispatcher/client-h1.js:296:12
❯ Socket.onHttpSocketReadable node_modules/undici/lib/dispatcher/client-h1.js:890:18
❯ Socket.emit node:events:517:28
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
test/options.dispatcher.test.ts > options.dispatcher.test.ts > should work with proxyAgent dispatcher:
src/utils.ts#L38
JSONResponseFormatError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON (data json format: "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>301 Moved Permanently</title></head>\r\n<body>\r\n<h1>301 Moved Permanently</h1>\r\n<p>The requested resource has been assigned a new permanent URI.</p>\r\n<hr/>Powered by Tengine</body>\r\n</html>\r\n")
❯ parseJSON src/utils.ts:38:17
❯ HttpClient.#requestInternal src/HttpClient.ts:654:20
❯ HttpClient.request src/HttpClient.ts:257:12
❯ request src/index.ts:27:10
❯ test/options.dispatcher.test.ts:43:23
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { opaque: undefined, status: 301, headers: { server: 'Tengine', date: 'Thu, 28 Nov 2024 04:05:00 GMT', 'content-type': 'text/html', 'content-length': '262', connection: 'keep-alive', location: 'https://registry.npmmirror.com/urllib/latest', via: 'ens-cache6.us18[,0]', 'timing-allow-origin': '*', eagleid: '2ff6189a17327667001603463e' }, res: { status: 301, statusCode: 301, statusText: 'Moved Permanently', statusMessage: 'Moved Permanently', headers: { server: 'Tengine', date: 'Thu, 28 Nov 2024 04:05:00 GMT', 'content-type': 'text/html', 'content-length': '262', connection: 'keep-alive', location: 'https://registry.npmmirror.com/urllib/latest', via: 'ens-cache6.us18[,0]', 'timing-allow-origin': '*', eagleid: '2ff6189a17327667001603463e' }, size: 262, aborted: false, rt: 149.756, keepAliveSocket: true, requestUrls: [ 'http://registry.npmmirror.com/urllib/latest' ], timing: { queuing: 0.35, connected: 75.937, requestHeadersSent: 75.997, requestSent: 76.18, waiting: 149.155, contentDownload: 149.332 }, socket: { id: 4, localAddress: '127.0.0.1', localPort: 50348, remoteAddress: '127.0.0.1', remotePort: 50345, remoteFamily: 'IPv4', bytesWritten: 267, bytesRead: 658, handledRequests: 1, handledResponses: 1, connectedTime: '2024-11-28T04:05:00.121Z' }, retries: +0, socketErrorRetries: +0 }, socket: { id: 4, localAddress: '127.0.0.1', localPort: 50348, remoteAddress: '127.0.0.1', remotePort: 50345, remoteFamily: 'IPv4', bytesWritten: 267, bytesRead: 658, handledRequests: 1, handledResponses: 1, connectedTime: '2024-11-28T04:05:00.121Z' } }
|
test/options.files.test.ts > options.files.test.ts > should upload a file with filepath success with default POST method:
src/HttpClient.ts#L499
TypeError: FormData.append: Expected value ("BlobFromStream [Blob] {}") to be an instance of Blob.
❯ Object.webidl.errors.exception node_modules/undici/lib/web/fetch/webidl.js:27:10
❯ Object.Blob node_modules/undici/lib/web/fetch/webidl.js:395:27
❯ FormData.append node_modules/undici/lib/web/fetch/formdata.js:37:33
❯ HttpClient.#requestInternal src/HttpClient.ts:499:22
❯ HttpClient.request src/HttpClient.ts:257:23
❯ Object.request src/index.ts:27:39
❯ test/options.files.test.ts:26:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { opaque: undefined, status: -1, headers: {}, res: { status: -1, statusCode: -1, statusText: '', statusMessage: '', headers: {}, size: +0, aborted: false, rt: 1.291, keepAliveSocket: true, requestUrls: [ 'http://localhost:50184/multipart' ], timing: { queuing: +0, connected: +0, requestHeadersSent: +0, requestSent: +0, waiting: +0, contentDownload: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 }, retries: +0, socketErrorRetries: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 } }
|
test/options.files.test.ts > options.files.test.ts > should upload files = [filepath] success with default POST method:
src/HttpClient.ts#L499
TypeError: FormData.append: Expected value ("BlobFromStream [Blob] {}") to be an instance of Blob.
❯ Object.webidl.errors.exception node_modules/undici/lib/web/fetch/webidl.js:27:10
❯ Object.Blob node_modules/undici/lib/web/fetch/webidl.js:395:27
❯ FormData.append node_modules/undici/lib/web/fetch/formdata.js:37:33
❯ HttpClient.#requestInternal src/HttpClient.ts:499:22
❯ HttpClient.request src/HttpClient.ts:257:23
❯ Object.request src/index.ts:27:39
❯ test/options.files.test.ts:42:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { opaque: undefined, status: -1, headers: {}, res: { status: -1, statusCode: -1, statusText: '', statusMessage: '', headers: {}, size: +0, aborted: false, rt: 0.285, keepAliveSocket: true, requestUrls: [ 'http://localhost:50184/multipart' ], timing: { queuing: +0, connected: +0, requestHeadersSent: +0, requestSent: +0, waiting: +0, contentDownload: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 }, retries: +0, socketErrorRetries: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 } }
|
test/options.files.test.ts > options.files.test.ts > should upload multi files: Array<string> success with default POST method:
src/HttpClient.ts#L499
TypeError: FormData.append: Expected value ("BlobFromStream [Blob] {}") to be an instance of Blob.
❯ Object.webidl.errors.exception node_modules/undici/lib/web/fetch/webidl.js:27:10
❯ Object.Blob node_modules/undici/lib/web/fetch/webidl.js:395:27
❯ FormData.append node_modules/undici/lib/web/fetch/formdata.js:37:33
❯ HttpClient.#requestInternal src/HttpClient.ts:499:22
❯ HttpClient.request src/HttpClient.ts:257:23
❯ Object.request src/index.ts:27:39
❯ test/options.files.test.ts:60:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { opaque: undefined, status: -1, headers: {}, res: { status: -1, statusCode: -1, statusText: '', statusMessage: '', headers: {}, size: +0, aborted: false, rt: 0.183, keepAliveSocket: true, requestUrls: [ 'http://localhost:50184/multipart' ], timing: { queuing: +0, connected: +0, requestHeadersSent: +0, requestSent: +0, waiting: +0, contentDownload: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 }, retries: +0, socketErrorRetries: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 } }
|
test/options.files.test.ts > options.files.test.ts > should upload multi files: Record<field, string> success with default POST method:
src/HttpClient.ts#L499
TypeError: FormData.append: Expected value ("BlobFromStream [Blob] {}") to be an instance of Blob.
❯ Object.webidl.errors.exception node_modules/undici/lib/web/fetch/webidl.js:27:10
❯ Object.Blob node_modules/undici/lib/web/fetch/webidl.js:395:27
❯ FormData.append node_modules/undici/lib/web/fetch/formdata.js:37:33
❯ HttpClient.#requestInternal src/HttpClient.ts:499:22
❯ HttpClient.request src/HttpClient.ts:257:23
❯ Object.request src/index.ts:27:39
❯ test/options.files.test.ts:84:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { opaque: undefined, status: -1, headers: {}, res: { status: -1, statusCode: -1, statusText: '', statusMessage: '', headers: {}, size: +0, aborted: false, rt: 0.191, keepAliveSocket: true, requestUrls: [ 'http://localhost:50184/multipart' ], timing: { queuing: +0, connected: +0, requestHeadersSent: +0, requestSent: +0, waiting: +0, contentDownload: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 }, retries: +0, socketErrorRetries: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 } }
|
test/options.files.test.ts > options.files.test.ts > should upload a file with stream success:
src/HttpClient.ts#L504
TypeError: FormData.append: Expected value ("BlobFromStream [Blob] {}") to be an instance of Blob.
❯ Object.webidl.errors.exception node_modules/undici/lib/web/fetch/webidl.js:27:10
❯ Object.Blob node_modules/undici/lib/web/fetch/webidl.js:395:27
❯ FormData.append node_modules/undici/lib/web/fetch/formdata.js:37:33
❯ HttpClient.#requestInternal src/HttpClient.ts:504:22
❯ HttpClient.request src/HttpClient.ts:257:23
❯ Object.request src/index.ts:27:39
❯ test/options.files.test.ts:132:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { opaque: undefined, status: -1, headers: {}, res: { status: -1, statusCode: -1, statusText: '', statusMessage: '', headers: {}, size: +0, aborted: false, rt: 0.255, keepAliveSocket: true, requestUrls: [ 'http://localhost:50184/multipart' ], timing: { queuing: +0, connected: +0, requestHeadersSent: +0, requestSent: +0, waiting: +0, contentDownload: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 }, retries: +0, socketErrorRetries: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 } }
|
test/options.files.test.ts > options.files.test.ts > should upload multi file with Array<String|Buffer|Stream> success:
src/HttpClient.ts#L499
TypeError: FormData.append: Expected value ("BlobFromStream [Blob] {}") to be an instance of Blob.
❯ Object.webidl.errors.exception node_modules/undici/lib/web/fetch/webidl.js:27:10
❯ Object.Blob node_modules/undici/lib/web/fetch/webidl.js:395:27
❯ FormData.append node_modules/undici/lib/web/fetch/formdata.js:37:33
❯ HttpClient.#requestInternal src/HttpClient.ts:499:22
❯ HttpClient.request src/HttpClient.ts:257:23
❯ Object.request src/index.ts:27:39
❯ test/options.files.test.ts:191:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { opaque: undefined, status: -1, headers: {}, res: { status: -1, statusCode: -1, statusText: '', statusMessage: '', headers: {}, size: +0, aborted: false, rt: 0.226, keepAliveSocket: true, requestUrls: [ 'http://localhost:50184/multipart' ], timing: { queuing: +0, connected: +0, requestHeadersSent: +0, requestSent: +0, waiting: +0, contentDownload: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 }, retries: +0, socketErrorRetries: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 } }
|
test/options.files.test.ts > options.files.test.ts > should upload a file with args.data success:
src/HttpClient.ts#L499
TypeError: FormData.append: Expected value ("BlobFromStream [Blob] {}") to be an instance of Blob.
❯ Object.webidl.errors.exception node_modules/undici/lib/web/fetch/webidl.js:27:10
❯ Object.Blob node_modules/undici/lib/web/fetch/webidl.js:395:27
❯ FormData.append node_modules/undici/lib/web/fetch/formdata.js:37:33
❯ HttpClient.#requestInternal src/HttpClient.ts:499:22
❯ HttpClient.request src/HttpClient.ts:257:23
❯ Object.request src/index.ts:27:39
❯ test/options.files.test.ts:221:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { opaque: undefined, status: -1, headers: {}, res: { status: -1, statusCode: -1, statusText: '', statusMessage: '', headers: {}, size: +0, aborted: false, rt: 0.33, keepAliveSocket: true, requestUrls: [ 'http://localhost:50184/multipart' ], timing: { queuing: +0, connected: +0, requestHeadersSent: +0, requestSent: +0, waiting: +0, contentDownload: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 }, retries: +0, socketErrorRetries: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 } }
|
test/options.files.test.ts > options.files.test.ts > should upload same field name between files and data:
src/HttpClient.ts#L499
TypeError: FormData.append: Expected value ("BlobFromStream [Blob] {}") to be an instance of Blob.
❯ Object.webidl.errors.exception node_modules/undici/lib/web/fetch/webidl.js:27:10
❯ Object.Blob node_modules/undici/lib/web/fetch/webidl.js:395:27
❯ FormData.append node_modules/undici/lib/web/fetch/formdata.js:37:33
❯ HttpClient.#requestInternal src/HttpClient.ts:499:22
❯ HttpClient.request src/HttpClient.ts:257:23
❯ Object.request src/index.ts:27:39
❯ test/options.files.test.ts:247:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { opaque: undefined, status: -1, headers: {}, res: { status: -1, statusCode: -1, statusText: '', statusMessage: '', headers: {}, size: +0, aborted: false, rt: 0.347, keepAliveSocket: true, requestUrls: [ 'http://localhost:50184/multipart' ], timing: { queuing: +0, connected: +0, requestHeadersSent: +0, requestSent: +0, waiting: +0, contentDownload: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 }, retries: +0, socketErrorRetries: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 } }
|
test/options.files.test.ts > options.files.test.ts > should support custom fileName when use files:object:
src/HttpClient.ts#L504
TypeError: FormData.append: Expected value ("BlobFromStream [Blob] {}") to be an instance of Blob.
❯ Object.webidl.errors.exception node_modules/undici/lib/web/fetch/webidl.js:27:10
❯ Object.Blob node_modules/undici/lib/web/fetch/webidl.js:395:27
❯ FormData.append node_modules/undici/lib/web/fetch/formdata.js:37:33
❯ HttpClient.#requestInternal src/HttpClient.ts:504:22
❯ HttpClient.request src/HttpClient.ts:257:23
❯ Object.request src/index.ts:27:39
❯ test/options.files.test.ts:274:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { opaque: undefined, status: -1, headers: {}, res: { status: -1, statusCode: -1, statusText: '', statusMessage: '', headers: {}, size: +0, aborted: false, rt: 0.469, keepAliveSocket: true, requestUrls: [ 'http://localhost:50184/multipart' ], timing: { queuing: +0, connected: +0, requestHeadersSent: +0, requestSent: +0, waiting: +0, contentDownload: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 }, retries: +0, socketErrorRetries: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 } }
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:143:9
❯ writeH1 node_modules/undici/lib/dispatcher/client-h1.js:1155:26
❯ Object.write node_modules/undici/lib/dispatcher/client-h1.js:805:14
❯ _resume node_modules/undici/lib/dispatcher/client.js:601:50
❯ resume node_modules/undici/lib/dispatcher/client.js:523:3
❯ Client.<computed> node_modules/undici/lib/dispatcher/client.js:250:31
❯ connect node_modules/undici/lib/dispatcher/client.js:508:18
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace socket info by undici:client:sendHeaders and undici:request:trailers". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:143:9
❯ Request.onComplete node_modules/undici/lib/core/request.js:278:25
❯ Parser.onMessageComplete node_modules/undici/lib/dispatcher/client-h1.js:712:13
❯ wasm_on_message_complete node_modules/undici/lib/dispatcher/client-h1.js:160:30
❯ null.<anonymous> wasm:/wasm/00032d9a:1:32718
❯ Parser.execute node_modules/undici/lib/dispatcher/client-h1.js:332:22
❯ Parser.readMore node_modules/undici/lib/dispatcher/client-h1.js:296:12
❯ Socket.onHttpSocketReadable node_modules/undici/lib/dispatcher/client-h1.js:890:18
❯ Socket.emit node:events:518:28
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace socket info by undici:client:sendHeaders and undici:request:trailers". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:143:9
❯ writeH1 node_modules/undici/lib/dispatcher/client-h1.js:1155:26
❯ Object.write node_modules/undici/lib/dispatcher/client-h1.js:805:14
❯ _resume node_modules/undici/lib/dispatcher/client.js:601:50
❯ resume node_modules/undici/lib/dispatcher/client.js:523:3
❯ Client.<computed> node_modules/undici/lib/dispatcher/client.js:250:31
❯ connect node_modules/undici/lib/dispatcher/client.js:508:18
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:143:9
❯ Request.onComplete node_modules/undici/lib/core/request.js:278:25
❯ Parser.onMessageComplete node_modules/undici/lib/dispatcher/client-h1.js:712:13
❯ wasm_on_message_complete node_modules/undici/lib/dispatcher/client-h1.js:160:30
❯ null.<anonymous> wasm:/wasm/00032d9a:1:32718
❯ Parser.execute node_modules/undici/lib/dispatcher/client-h1.js:332:22
❯ Parser.readMore node_modules/undici/lib/dispatcher/client-h1.js:296:12
❯ Socket.onHttpSocketReadable node_modules/undici/lib/dispatcher/client-h1.js:890:18
❯ Socket.emit node:events:518:28
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:143:9
❯ writeH1 node_modules/undici/lib/dispatcher/client-h1.js:1155:26
❯ Object.write node_modules/undici/lib/dispatcher/client-h1.js:805:14
❯ _resume node_modules/undici/lib/dispatcher/client.js:601:50
❯ resume node_modules/undici/lib/dispatcher/client.js:523:3
❯ Client.<computed> node_modules/undici/lib/dispatcher/client.js:250:31
❯ connect node_modules/undici/lib/dispatcher/client.js:508:18
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:143:9
❯ Request.onComplete node_modules/undici/lib/core/request.js:278:25
❯ Parser.onMessageComplete node_modules/undici/lib/dispatcher/client-h1.js:712:13
❯ wasm_on_message_complete node_modules/undici/lib/dispatcher/client-h1.js:160:30
❯ null.<anonymous> wasm:/wasm/00032d9a:1:6933
❯ Parser.execute node_modules/undici/lib/dispatcher/client-h1.js:332:22
❯ Parser.readMore node_modules/undici/lib/dispatcher/client-h1.js:296:12
❯ Socket.onHttpSocketReadable node_modules/undici/lib/dispatcher/client-h1.js:890:18
❯ Socket.emit node:events:518:28
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:143:9
❯ writeH1 node_modules/undici/lib/dispatcher/client-h1.js:1155:26
❯ Object.write node_modules/undici/lib/dispatcher/client-h1.js:805:14
❯ _resume node_modules/undici/lib/dispatcher/client.js:601:50
❯ resume node_modules/undici/lib/dispatcher/client.js:523:3
❯ Client.<computed> node_modules/undici/lib/dispatcher/client.js:250:31
❯ Client.[dispatch] node_modules/undici/lib/dispatcher/client.js:305:20
❯ Client.dispatch node_modules/undici/lib/dispatcher/dispatcher-base.js:148:29
❯ Pool.[dispatch] node_modules/undici/lib/dispatcher/pool-base.js:143:28
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:143:9
❯ Request.onComplete node_modules/undici/lib/core/request.js:278:25
❯ Parser.onMessageComplete node_modules/undici/lib/dispatcher/client-h1.js:712:13
❯ wasm_on_message_complete node_modules/undici/lib/dispatcher/client-h1.js:160:30
❯ null.<anonymous> wasm:/wasm/00032d9a:1:6933
❯ Parser.execute node_modules/undici/lib/dispatcher/client-h1.js:332:22
❯ Parser.readMore node_modules/undici/lib/dispatcher/client-h1.js:296:12
❯ Socket.onHttpSocketReadable node_modules/undici/lib/dispatcher/client-h1.js:890:18
❯ Socket.emit node:events:518:28
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:143:9
❯ writeH1 node_modules/undici/lib/dispatcher/client-h1.js:1155:26
❯ Object.write node_modules/undici/lib/dispatcher/client-h1.js:805:14
❯ _resume node_modules/undici/lib/dispatcher/client.js:601:50
❯ resume node_modules/undici/lib/dispatcher/client.js:523:3
❯ Client.<computed> node_modules/undici/lib/dispatcher/client.js:250:31
❯ Client.[dispatch] node_modules/undici/lib/dispatcher/client.js:305:20
❯ Client.dispatch node_modules/undici/lib/dispatcher/dispatcher-base.js:148:29
❯ Pool.[dispatch] node_modules/undici/lib/dispatcher/pool-base.js:143:28
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:143:9
❯ Request.onComplete node_modules/undici/lib/core/request.js:278:25
❯ Parser.onMessageComplete node_modules/undici/lib/dispatcher/client-h1.js:712:13
❯ wasm_on_message_complete node_modules/undici/lib/dispatcher/client-h1.js:160:30
❯ null.<anonymous> wasm:/wasm/00032d9a:1:6933
❯ Parser.execute node_modules/undici/lib/dispatcher/client-h1.js:332:22
❯ Parser.readMore node_modules/undici/lib/dispatcher/client-h1.js:296:12
❯ Socket.onHttpSocketReadable node_modules/undici/lib/dispatcher/client-h1.js:890:18
❯ Socket.emit node:events:518:28
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
test/options.dispatcher.test.ts > options.dispatcher.test.ts > should work with proxyAgent dispatcher:
src/utils.ts#L38
JSONResponseFormatError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON (data json format: "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>301 Moved Permanently</title></head>\r\n<body>\r\n<h1>301 Moved Permanently</h1>\r\n<p>The requested resource has been assigned a new permanent URI.</p>\r\n<hr/>Powered by Tengine</body>\r\n</html>\r\n")
❯ parseJSON src/utils.ts:38:17
❯ HttpClient.#requestInternal src/HttpClient.ts:654:20
❯ HttpClient.request src/HttpClient.ts:257:12
❯ request src/index.ts:27:10
❯ test/options.dispatcher.test.ts:43:23
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { opaque: undefined, status: 301, headers: { server: 'Tengine', date: 'Thu, 28 Nov 2024 04:05:21 GMT', 'content-type': 'text/html', 'content-length': '262', connection: 'keep-alive', location: 'https://registry.npmmirror.com/urllib/latest', via: 'ens-cache7.us18[,0]', 'timing-allow-origin': '*', eagleid: '2ff6189b17327667210543526e' }, res: { status: 301, statusCode: 301, statusText: 'Moved Permanently', statusMessage: 'Moved Permanently', headers: { server: 'Tengine', date: 'Thu, 28 Nov 2024 04:05:21 GMT', 'content-type': 'text/html', 'content-length': '262', connection: 'keep-alive', location: 'https://registry.npmmirror.com/urllib/latest', via: 'ens-cache7.us18[,0]', 'timing-allow-origin': '*', eagleid: '2ff6189b17327667210543526e' }, size: 262, aborted: false, rt: 5.931, keepAliveSocket: true, requestUrls: [ 'http://registry.npmmirror.com/urllib/latest' ], timing: { queuing: 0.288, connected: 3.683, requestHeadersSent: 3.725, requestSent: 3.774, waiting: 5.451, contentDownload: 5.582 }, socket: { id: 4, localAddress: '127.0.0.1', localPort: 56081, remoteAddress: '127.0.0.1', remotePort: 56078, remoteFamily: 'IPv4', bytesWritten: 268, bytesRead: 658, handledRequests: 1, handledResponses: 1, connectedTime: '2024-11-28T04:05:21.053Z' }, retries: +0, socketErrorRetries: +0 }, socket: { id: 4, localAddress: '127.0.0.1', localPort: 56081, remoteAddress: '127.0.0.1', remotePort: 56078, remoteFamily: 'IPv4', bytesWritten: 268, bytesRead: 658, handledRequests: 1, handledResponses: 1, connectedTime: '2024-11-28T04:05:21.053Z' } }
|
test/options.files.test.ts > options.files.test.ts > should upload a file with filepath success with default POST method:
src/HttpClient.ts#L499
TypeError: FormData.append: Expected value ("BlobFromStream [Blob] {}") to be an instance of Blob.
❯ Object.webidl.errors.exception node_modules/undici/lib/web/fetch/webidl.js:27:10
❯ Object.Blob node_modules/undici/lib/web/fetch/webidl.js:395:27
❯ FormData.append node_modules/undici/lib/web/fetch/formdata.js:37:33
❯ HttpClient.#requestInternal src/HttpClient.ts:499:22
❯ HttpClient.request src/HttpClient.ts:257:23
❯ Object.request src/index.ts:27:39
❯ test/options.files.test.ts:26:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { opaque: undefined, status: -1, headers: {}, res: { status: -1, statusCode: -1, statusText: '', statusMessage: '', headers: {}, size: +0, aborted: false, rt: 1.833, keepAliveSocket: true, requestUrls: [ 'http://localhost:55922/multipart' ], timing: { queuing: +0, connected: +0, requestHeadersSent: +0, requestSent: +0, waiting: +0, contentDownload: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 }, retries: +0, socketErrorRetries: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 } }
|
test/options.files.test.ts > options.files.test.ts > should upload files = [filepath] success with default POST method:
src/HttpClient.ts#L499
TypeError: FormData.append: Expected value ("BlobFromStream [Blob] {}") to be an instance of Blob.
❯ Object.webidl.errors.exception node_modules/undici/lib/web/fetch/webidl.js:27:10
❯ Object.Blob node_modules/undici/lib/web/fetch/webidl.js:395:27
❯ FormData.append node_modules/undici/lib/web/fetch/formdata.js:37:33
❯ HttpClient.#requestInternal src/HttpClient.ts:499:22
❯ HttpClient.request src/HttpClient.ts:257:23
❯ Object.request src/index.ts:27:39
❯ test/options.files.test.ts:42:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { opaque: undefined, status: -1, headers: {}, res: { status: -1, statusCode: -1, statusText: '', statusMessage: '', headers: {}, size: +0, aborted: false, rt: 0.187, keepAliveSocket: true, requestUrls: [ 'http://localhost:55922/multipart' ], timing: { queuing: +0, connected: +0, requestHeadersSent: +0, requestSent: +0, waiting: +0, contentDownload: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 }, retries: +0, socketErrorRetries: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 } }
|
test/options.files.test.ts > options.files.test.ts > should upload multi files: Array<string> success with default POST method:
src/HttpClient.ts#L499
TypeError: FormData.append: Expected value ("BlobFromStream [Blob] {}") to be an instance of Blob.
❯ Object.webidl.errors.exception node_modules/undici/lib/web/fetch/webidl.js:27:10
❯ Object.Blob node_modules/undici/lib/web/fetch/webidl.js:395:27
❯ FormData.append node_modules/undici/lib/web/fetch/formdata.js:37:33
❯ HttpClient.#requestInternal src/HttpClient.ts:499:22
❯ HttpClient.request src/HttpClient.ts:257:23
❯ Object.request src/index.ts:27:39
❯ test/options.files.test.ts:60:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { opaque: undefined, status: -1, headers: {}, res: { status: -1, statusCode: -1, statusText: '', statusMessage: '', headers: {}, size: +0, aborted: false, rt: 0.091, keepAliveSocket: true, requestUrls: [ 'http://localhost:55922/multipart' ], timing: { queuing: +0, connected: +0, requestHeadersSent: +0, requestSent: +0, waiting: +0, contentDownload: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 }, retries: +0, socketErrorRetries: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 } }
|
test/options.files.test.ts > options.files.test.ts > should upload multi files: Record<field, string> success with default POST method:
src/HttpClient.ts#L499
TypeError: FormData.append: Expected value ("BlobFromStream [Blob] {}") to be an instance of Blob.
❯ Object.webidl.errors.exception node_modules/undici/lib/web/fetch/webidl.js:27:10
❯ Object.Blob node_modules/undici/lib/web/fetch/webidl.js:395:27
❯ FormData.append node_modules/undici/lib/web/fetch/formdata.js:37:33
❯ HttpClient.#requestInternal src/HttpClient.ts:499:22
❯ HttpClient.request src/HttpClient.ts:257:23
❯ Object.request src/index.ts:27:39
❯ test/options.files.test.ts:84:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { opaque: undefined, status: -1, headers: {}, res: { status: -1, statusCode: -1, statusText: '', statusMessage: '', headers: {}, size: +0, aborted: false, rt: 0.119, keepAliveSocket: true, requestUrls: [ 'http://localhost:55922/multipart' ], timing: { queuing: +0, connected: +0, requestHeadersSent: +0, requestSent: +0, waiting: +0, contentDownload: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 }, retries: +0, socketErrorRetries: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 } }
|
test/options.files.test.ts > options.files.test.ts > should upload a file with stream success:
src/HttpClient.ts#L504
TypeError: FormData.append: Expected value ("BlobFromStream [Blob] {}") to be an instance of Blob.
❯ Object.webidl.errors.exception node_modules/undici/lib/web/fetch/webidl.js:27:10
❯ Object.Blob node_modules/undici/lib/web/fetch/webidl.js:395:27
❯ FormData.append node_modules/undici/lib/web/fetch/formdata.js:37:33
❯ HttpClient.#requestInternal src/HttpClient.ts:504:22
❯ HttpClient.request src/HttpClient.ts:257:23
❯ Object.request src/index.ts:27:39
❯ test/options.files.test.ts:132:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { opaque: undefined, status: -1, headers: {}, res: { status: -1, statusCode: -1, statusText: '', statusMessage: '', headers: {}, size: +0, aborted: false, rt: 0.153, keepAliveSocket: true, requestUrls: [ 'http://localhost:55922/multipart' ], timing: { queuing: +0, connected: +0, requestHeadersSent: +0, requestSent: +0, waiting: +0, contentDownload: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 }, retries: +0, socketErrorRetries: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 } }
|
test/options.files.test.ts > options.files.test.ts > should upload multi file with Array<String|Buffer|Stream> success:
src/HttpClient.ts#L499
TypeError: FormData.append: Expected value ("BlobFromStream [Blob] {}") to be an instance of Blob.
❯ Object.webidl.errors.exception node_modules/undici/lib/web/fetch/webidl.js:27:10
❯ Object.Blob node_modules/undici/lib/web/fetch/webidl.js:395:27
❯ FormData.append node_modules/undici/lib/web/fetch/formdata.js:37:33
❯ HttpClient.#requestInternal src/HttpClient.ts:499:22
❯ HttpClient.request src/HttpClient.ts:257:23
❯ Object.request src/index.ts:27:39
❯ test/options.files.test.ts:191:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { opaque: undefined, status: -1, headers: {}, res: { status: -1, statusCode: -1, statusText: '', statusMessage: '', headers: {}, size: +0, aborted: false, rt: 0.106, keepAliveSocket: true, requestUrls: [ 'http://localhost:55922/multipart' ], timing: { queuing: +0, connected: +0, requestHeadersSent: +0, requestSent: +0, waiting: +0, contentDownload: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 }, retries: +0, socketErrorRetries: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 } }
|
test/options.files.test.ts > options.files.test.ts > should upload a file with args.data success:
src/HttpClient.ts#L499
TypeError: FormData.append: Expected value ("BlobFromStream [Blob] {}") to be an instance of Blob.
❯ Object.webidl.errors.exception node_modules/undici/lib/web/fetch/webidl.js:27:10
❯ Object.Blob node_modules/undici/lib/web/fetch/webidl.js:395:27
❯ FormData.append node_modules/undici/lib/web/fetch/formdata.js:37:33
❯ HttpClient.#requestInternal src/HttpClient.ts:499:22
❯ HttpClient.request src/HttpClient.ts:257:23
❯ Object.request src/index.ts:27:39
❯ test/options.files.test.ts:221:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { opaque: undefined, status: -1, headers: {}, res: { status: -1, statusCode: -1, statusText: '', statusMessage: '', headers: {}, size: +0, aborted: false, rt: 0.171, keepAliveSocket: true, requestUrls: [ 'http://localhost:55922/multipart' ], timing: { queuing: +0, connected: +0, requestHeadersSent: +0, requestSent: +0, waiting: +0, contentDownload: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 }, retries: +0, socketErrorRetries: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 } }
|
test/options.files.test.ts > options.files.test.ts > should upload same field name between files and data:
src/HttpClient.ts#L499
TypeError: FormData.append: Expected value ("BlobFromStream [Blob] {}") to be an instance of Blob.
❯ Object.webidl.errors.exception node_modules/undici/lib/web/fetch/webidl.js:27:10
❯ Object.Blob node_modules/undici/lib/web/fetch/webidl.js:395:27
❯ FormData.append node_modules/undici/lib/web/fetch/formdata.js:37:33
❯ HttpClient.#requestInternal src/HttpClient.ts:499:22
❯ HttpClient.request src/HttpClient.ts:257:23
❯ Object.request src/index.ts:27:39
❯ test/options.files.test.ts:247:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { opaque: undefined, status: -1, headers: {}, res: { status: -1, statusCode: -1, statusText: '', statusMessage: '', headers: {}, size: +0, aborted: false, rt: 0.207, keepAliveSocket: true, requestUrls: [ 'http://localhost:55922/multipart' ], timing: { queuing: +0, connected: +0, requestHeadersSent: +0, requestSent: +0, waiting: +0, contentDownload: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 }, retries: +0, socketErrorRetries: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 } }
|
test/options.files.test.ts > options.files.test.ts > should support custom fileName when use files:object:
src/HttpClient.ts#L504
TypeError: FormData.append: Expected value ("BlobFromStream [Blob] {}") to be an instance of Blob.
❯ Object.webidl.errors.exception node_modules/undici/lib/web/fetch/webidl.js:27:10
❯ Object.Blob node_modules/undici/lib/web/fetch/webidl.js:395:27
❯ FormData.append node_modules/undici/lib/web/fetch/formdata.js:37:33
❯ HttpClient.#requestInternal src/HttpClient.ts:504:22
❯ HttpClient.request src/HttpClient.ts:257:23
❯ Object.request src/index.ts:27:39
❯ test/options.files.test.ts:274:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { opaque: undefined, status: -1, headers: {}, res: { status: -1, statusCode: -1, statusText: '', statusMessage: '', headers: {}, size: +0, aborted: false, rt: 0.227, keepAliveSocket: true, requestUrls: [ 'http://localhost:55922/multipart' ], timing: { queuing: +0, connected: +0, requestHeadersSent: +0, requestSent: +0, waiting: +0, contentDownload: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 }, retries: +0, socketErrorRetries: +0 }, socket: { id: +0, localAddress: '', localPort: +0, remoteAddress: '', remotePort: +0, remoteFamily: '', bytesWritten: +0, bytesRead: +0, handledRequests: +0, handledResponses: +0 } }
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:141:9
❯ writeH1 node_modules/undici/lib/dispatcher/client-h1.js:1155:26
❯ Object.write node_modules/undici/lib/dispatcher/client-h1.js:805:14
❯ _resume node_modules/undici/lib/dispatcher/client.js:601:50
❯ resume node_modules/undici/lib/dispatcher/client.js:523:3
❯ Client.<computed> node_modules/undici/lib/dispatcher/client.js:250:31
❯ connect node_modules/undici/lib/dispatcher/client.js:508:18
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace socket info by undici:client:sendHeaders and undici:request:trailers". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:141:9
❯ Request.onComplete node_modules/undici/lib/core/request.js:278:25
❯ Parser.onMessageComplete node_modules/undici/lib/dispatcher/client-h1.js:712:13
❯ wasm_on_message_complete node_modules/undici/lib/dispatcher/client-h1.js:160:30
❯ null.<anonymous> wasm:/wasm/00032d9a:1:32718
❯ Parser.execute node_modules/undici/lib/dispatcher/client-h1.js:332:22
❯ Parser.readMore node_modules/undici/lib/dispatcher/client-h1.js:296:12
❯ Socket.onHttpSocketReadable node_modules/undici/lib/dispatcher/client-h1.js:890:18
❯ Socket.emit node:events:517:28
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace socket info by undici:client:sendHeaders and undici:request:trailers". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:141:9
❯ writeH1 node_modules/undici/lib/dispatcher/client-h1.js:1155:26
❯ Object.write node_modules/undici/lib/dispatcher/client-h1.js:805:14
❯ _resume node_modules/undici/lib/dispatcher/client.js:601:50
❯ resume node_modules/undici/lib/dispatcher/client.js:523:3
❯ Client.<computed> node_modules/undici/lib/dispatcher/client.js:250:31
❯ connect node_modules/undici/lib/dispatcher/client.js:508:18
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:141:9
❯ Request.onComplete node_modules/undici/lib/core/request.js:278:25
❯ Parser.onMessageComplete node_modules/undici/lib/dispatcher/client-h1.js:712:13
❯ wasm_on_message_complete node_modules/undici/lib/dispatcher/client-h1.js:160:30
❯ null.<anonymous> wasm:/wasm/00032d9a:1:32718
❯ Parser.execute node_modules/undici/lib/dispatcher/client-h1.js:332:22
❯ Parser.readMore node_modules/undici/lib/dispatcher/client-h1.js:296:12
❯ Socket.onHttpSocketReadable node_modules/undici/lib/dispatcher/client-h1.js:890:18
❯ Socket.emit node:events:517:28
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:141:9
❯ writeH1 node_modules/undici/lib/dispatcher/client-h1.js:1155:26
❯ Object.write node_modules/undici/lib/dispatcher/client-h1.js:805:14
❯ _resume node_modules/undici/lib/dispatcher/client.js:601:50
❯ resume node_modules/undici/lib/dispatcher/client.js:523:3
❯ Client.<computed> node_modules/undici/lib/dispatcher/client.js:250:31
❯ connect node_modules/undici/lib/dispatcher/client.js:508:18
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:141:9
❯ Request.onComplete node_modules/undici/lib/core/request.js:278:25
❯ Parser.onMessageComplete node_modules/undici/lib/dispatcher/client-h1.js:712:13
❯ wasm_on_message_complete node_modules/undici/lib/dispatcher/client-h1.js:160:30
❯ null.<anonymous> wasm:/wasm/00032d9a:1:6933
❯ Parser.execute node_modules/undici/lib/dispatcher/client-h1.js:332:22
❯ Parser.readMore node_modules/undici/lib/dispatcher/client-h1.js:296:12
❯ Socket.onHttpSocketReadable node_modules/undici/lib/dispatcher/client-h1.js:890:18
❯ Socket.emit node:events:517:28
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:141:9
❯ writeH1 node_modules/undici/lib/dispatcher/client-h1.js:1155:26
❯ Object.write node_modules/undici/lib/dispatcher/client-h1.js:805:14
❯ _resume node_modules/undici/lib/dispatcher/client.js:601:50
❯ resume node_modules/undici/lib/dispatcher/client.js:523:3
❯ Client.<computed> node_modules/undici/lib/dispatcher/client.js:250:31
❯ Client.[dispatch] node_modules/undici/lib/dispatcher/client.js:305:20
❯ Client.dispatch node_modules/undici/lib/dispatcher/dispatcher-base.js:148:29
❯ Pool.[dispatch] node_modules/undici/lib/dispatcher/pool-base.js:143:28
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:141:9
❯ Request.onComplete node_modules/undici/lib/core/request.js:278:25
❯ Parser.onMessageComplete node_modules/undici/lib/dispatcher/client-h1.js:712:13
❯ wasm_on_message_complete node_modules/undici/lib/dispatcher/client-h1.js:160:30
❯ null.<anonymous> wasm:/wasm/00032d9a:1:6933
❯ Parser.execute node_modules/undici/lib/dispatcher/client-h1.js:332:22
❯ Parser.readMore node_modules/undici/lib/dispatcher/client-h1.js:296:12
❯ Socket.onHttpSocketReadable node_modules/undici/lib/dispatcher/client-h1.js:890:18
❯ Socket.emit node:events:517:28
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:141:9
❯ writeH1 node_modules/undici/lib/dispatcher/client-h1.js:1155:26
❯ Object.write node_modules/undici/lib/dispatcher/client-h1.js:805:14
❯ _resume node_modules/undici/lib/dispatcher/client.js:601:50
❯ resume node_modules/undici/lib/dispatcher/client.js:523:3
❯ Client.<computed> node_modules/undici/lib/dispatcher/client.js:250:31
❯ Client.[dispatch] node_modules/undici/lib/dispatcher/client.js:305:20
❯ Client.dispatch node_modules/undici/lib/dispatcher/dispatcher-base.js:148:29
❯ Pool.[dispatch] node_modules/undici/lib/dispatcher/pool-base.js:143:28
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
test/diagnostics_channel.test.ts#L46
TypeError: Cannot read properties of undefined (reading 'opaque')
❯ onMessage test/diagnostics_channel.test.ts:46:45
❯ Channel.publish node:diagnostics_channel:141:9
❯ Request.onComplete node_modules/undici/lib/core/request.js:278:25
❯ Parser.onMessageComplete node_modules/undici/lib/dispatcher/client-h1.js:712:13
❯ wasm_on_message_complete node_modules/undici/lib/dispatcher/client-h1.js:160:30
❯ null.<anonymous> wasm:/wasm/00032d9a:1:6933
❯ Parser.execute node_modules/undici/lib/dispatcher/client-h1.js:332:22
❯ Parser.readMore node_modules/undici/lib/dispatcher/client-h1.js:296:12
❯ Socket.onHttpSocketReadable node_modules/undici/lib/dispatcher/client-h1.js:890:18
❯ Socket.emit node:events:517:28
This error originated in "test/diagnostics_channel.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should support trace request by urllib:request and urllib:response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|