This repository has been archived by the owner on Apr 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 196
error when click login button #137
Comments
Did you solve it? I'm using the dev branch and encountering the same issue on Windows 11.
|
+1 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug
error when click ChatGPT Login button:
To Reproduce
Steps to reproduce the behavior:
click-prompt:dev: click-prompt:dev: Import trace for requested module: click-prompt:dev: ../../node_modules/node-fetch/lib/index.js click-prompt:dev: ./src/api/user.ts click-prompt:dev: ./src/components/ClickPrompt/ClickPromptButton.tsx click-prompt:dev: No secret key env in the server. click-prompt:dev: error - TypeError: fetch failed click-prompt:dev: at Object.fetch (node:internal/deps/undici/undici:11413:11) click-prompt:dev: at process.processTicksAndRejections (node:internal/process/task_queues:95:5) { click-prompt:dev: cause: Error: getaddrinfo ENOTFOUND undefined click-prompt:dev: at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:107:26) click-prompt:dev: at GetAddrInfoReqWrap.callbackTrampoline (node:internal/async_hooks:130:17) { click-prompt:dev: errno: -3008, click-prompt:dev: code: 'ENOTFOUND', click-prompt:dev: syscall: 'getaddrinfo', click-prompt:dev: hostname: 'undefined' click-prompt:dev: }, click-prompt:dev: page: '/api/chatgpt/user' click-prompt:dev: } click-prompt:dev: warn - ../../node_modules/node-fetch/lib/index.js click-prompt:dev: Module not found: Can't resolve 'encoding' in 'C:\Users\xqyi\click-prompt\node_modules\node-fetch\lib' click-prompt:dev: click-prompt:dev: Import trace for requested module: click-prompt:dev: ../../node_modules/node-fetch/lib/index.js click-prompt:dev: ./src/api/user.ts click-prompt:dev: wait - compiling /_error (client and server)... click-prompt:dev: ./src/components/ClickPrompt/ClickPromptButton.tsx click-prompt:dev: warn - ../../node_modules/node-fetch/lib/index.js click-prompt:dev: Module not found: Can't resolve 'encoding' in 'C:\Users\xqyi\click-prompt\node_modules\node-fetch\lib' click-prompt:dev: click-prompt:dev: Import trace for requested module: click-prompt:dev: ../../node_modules/node-fetch/lib/index.js click-prompt:dev: ./src/api/user.ts click-prompt:dev: ./src/components/ClickPrompt/ClickPromptButton.tsx
The text was updated successfully, but these errors were encountered: