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

Error: Invariant: Method expects to have requestAsyncStorage, none available #27

Closed
chenqilin70 opened this issue Jul 26, 2023 · 0 comments
Labels
invalid This doesn't seem right

Comments

@chenqilin70
Copy link

把包引入项目后,运行项目报错。
错误信息:Error: Invariant: Method expects to have requestAsyncStorage, none available
Error: Invariant: Method expects to have requestAsyncStorage, none available
at Module.headers (webpack-internal:///(sc_server)/./node_modules/next/dist/esm/client/components/headers.js:23:15)
at handleReqBailout (webpack-internal:///(sc_server)/./node_modules/next/dist/server/future/route-modules/app-route/helpers/proxy-request.js:76:35)
at Object.get (webpack-internal:///(sc_server)/./node_modules/next/dist/server/future/route-modules/app-route/helpers/proxy-request.js:96:13)
at requestOpenai (webpack-internal:///(sc_server)/./app/api/common.ts:15:24)
at requestSearXNG (webpack-internal:///(sc_server)/./app/api/chat-stream/search.ts:31:80)
at createStream (webpack-internal:///(sc_server)/./app/api/chat-stream/route.ts:15:105)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async POST (webpack-internal:///(sc_server)/./app/api/chat-stream/route.ts:43:24)

@niieani niieani added the invalid This doesn't seem right label Jul 18, 2024
@niieani niieani closed this as not planned Won't fix, can't repro, duplicate, stale Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants