-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
throw new TypeError(${context} is not a ReadableStream.
);
#65
Labels
question
Further information is requested
Comments
相同问题 |
node v18 |
确实 需要node 18 |
This was referenced Mar 6, 2023
5 tasks
This was referenced Mar 7, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: