throw new TypeError(${context} is not a ReadableStream.
);
#65
Labels
question
Further information is requested
${context} is not a ReadableStream.
);
#65
Describe the bug
机器 Mac mini M1
❯ node -v
v16.13.2
❯ npm -v
8.3.0
按照 readme 操作之后,运行不起来
❯ npm run dev
(node:55714) ExperimentalWarning: stream/web is an experimental feature. This feature could change at any time
(Use
node --trace-warnings ...
to show where the warning was created)🚀 astro v2.0.17 started in 40ms
┃ Local http://localhost:3000/
┃ Network use --host to expose
file:///Users/ming/code/chatgpt-demo/node_modules/node-fetch-native/dist/shared/node-fetch-native.2b047dc1.mjs:432
throw new TypeError(
${context} is not a ReadableStream.
);^
TypeError: First parameter has member 'readable' that is not a ReadableStream.
at assertReadableStream (file:///Users/ming/code/chatgpt-demo/node_modules/node-fetch-native/dist/shared/node-fetch-native.2b047dc1.mjs:432:21)
at convertReadableWritablePair (file:///Users/ming/code/chatgpt-demo/node_modules/node-fetch-native/dist/shared/node-fetch-native.2b047dc1.mjs:3509:11)
at ReadableStream.pipeThrough (file:///Users/ming/code/chatgpt-demo/node_modules/node-fetch-native/dist/shared/node-fetch-native.2b047dc1.mjs:3584:33)
at fetchFinale (/Users/ming/code/chatgpt-demo/node_modules/undici/lib/fetch/index.js:973:52)
at mainFetch (/Users/ming/code/chatgpt-demo/node_modules/undici/lib/fetch/index.js:773:5)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
Reproduction
1
System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: