new TypeError(${context} is not a ReadableStream.
)
#93
Labels
duplicate
This issue or pull request already exists
${context} is not a ReadableStream.
)
#93
对npm这套不了解,执行run dev后出现下面报错,网上没查到相关资料,请帮忙看看~
信息如下:
westhuang@westhuangdeMacBook-Pro chatgpt-demo % npm run dev
🚀 astro v2.0.17 started in 108ms
┃ Local http://127.0.0.1:3000/
┃ Network use --host to expose
file:///Users/westhuang/GitDir/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/westhuang/GitDir/chatgpt-demo/node_modules/node-fetch-native/dist/shared/node-fetch-native.2b047dc1.mjs:432:21)
at convertReadableWritablePair (file:///Users/westhuang/GitDir/chatgpt-demo/node_modules/node-fetch-native/dist/shared/node-fetch-native.2b047dc1.mjs:3509:11)
at ReadableStream.pipeThrough (file:///Users/westhuang/GitDir/chatgpt-demo/node_modules/node-fetch-native/dist/shared/node-fetch-native.2b047dc1.mjs:3584:33)
at fetchFinale (/Users/westhuang/GitDir/chatgpt-demo/node_modules/undici/lib/fetch/index.js:973:52)
at mainFetch (/Users/westhuang/GitDir/chatgpt-demo/node_modules/undici/lib/fetch/index.js:773:5)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
The text was updated successfully, but these errors were encountered: