Skip to content
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

problem when execute npx tsx demos/demo.ts #642

Open
2 tasks done
sunfishlk opened this issue Apr 26, 2024 · 0 comments
Open
2 tasks done

problem when execute npx tsx demos/demo.ts #642

sunfishlk opened this issue Apr 26, 2024 · 0 comments

Comments

@sunfishlk
Copy link

Verify latest release

  • I verified that the issue exists in the latest chatgpt release

Verify webapp is working

  • I verify that the ChatGPT webapp is working properly for this account.

Environment details

node : v18.11.0
OS : win11
browser : edge

Describe the Bug

⠋ Write a python version of bubble sort. Do not include example usage.(node:6704) ExperimentalWarning: The Fetch API is an experimental feature. This feature could change at any time
(Use node --trace-warnings ... to show where the warning was created)
✖ Write a python version of bubble sort. Do not include example usage.
TypeError: fetch failed
at Object.fetch (node:internal/deps/undici/undici:11118:11)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at Promise.then.promptTokens (d:%E5%AD%A6%E4%B9%A0%E8%AF%BE%E5%A4%96\ChatGPT API\chatgpt-api\src\chatgpt-api.ts:251:25) {
cause: ConnectTimeoutError: Connect Timeout Error
at onConnectTimeout (node:internal/deps/undici/undici:6625:28)
at node:internal/deps/undici/undici:6583:50
at Immediate._onImmediate (node:internal/deps/undici/undici:6612:37)
at process.processImmediate (node:internal/timers:471:21) {
code: 'UND_ERR_CONNECT_TIMEOUT'
}
屏幕截图 2024-04-26 170920

}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant